Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2019-07-16 16:12:37 +0300
committerJames Lopez <james@gitlab.com>2019-07-16 16:12:37 +0300
commit556d213cbc8b2ce44fd4d7fafde0a28804d3ae29 (patch)
treee5c6553cf1557b9f75166d4b99e71ec570acc626 /spec/requests/api/commits_spec.rb
parentf1b257f32ba8e9118b9e5ac84fd3c97d070551bb (diff)
Refactored WebIdeCommitsCount class
We're adding more redis base counters to the web ide and other classes. We're refactoring this class in other to use the logic in other places.
Diffstat (limited to 'spec/requests/api/commits_spec.rb')
-rw-r--r--spec/requests/api/commits_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb
index 3df5d9412f8..204e378f7be 100644
--- a/spec/requests/api/commits_spec.rb
+++ b/spec/requests/api/commits_spec.rb
@@ -281,7 +281,7 @@ describe API::Commits do
end
it 'does not increment the usage counters using access token authentication' do
- expect(::Gitlab::WebIdeCommitsCounter).not_to receive(:increment)
+ expect(::Gitlab::UsageDataCounters::WebIdeCommitsCounter).not_to receive(:increment)
post api(url, user), params: valid_c_params
end