summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2019-05-09 10:17:52 +0000
committerJames Lopez <james@gitlab.com>2019-05-09 10:17:52 +0000
commitb16b058aa4803deb85e869f8c06937e2fb501179 (patch)
tree006cec9dfd358f8b1fab61d304866458b8674024
parent37a603c5b03e1ea228e6d5de427b1c20ce4c83fe (diff)
downloadgitlab-ce-6659-extract-ee-specific-files-lines-for-spec-lib-gitlab-easier-ones-ce.tar.gz
-rw-r--r--spec/lib/gitlab/usage_data_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb
index 62919d43c41..aa975c8bb0b 100644
--- a/spec/lib/gitlab/usage_data_spec.rb
+++ b/spec/lib/gitlab/usage_data_spec.rb
@@ -238,7 +238,7 @@ describe Gitlab::UsageData do
create(:label)
expect(Gitlab::Database::Count).to receive(:approximate_counts)
- .with(described_class::APPROXIMATE_COUNT_MODELS).once.and_call_original
+ .with(described_class::APPROXIMATE_COUNT_MODELS).once.and_call_original
counts = described_class.approximate_counts.values
@@ -252,7 +252,7 @@ describe Gitlab::UsageData do
end
expect(Gitlab::Database::Count).to receive(:approximate_counts)
- .and_return({})
+ .and_return({})
expect(described_class.approximate_counts.values.uniq).to eq([-1])
end