diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2019-07-18 02:45:35 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-07-18 02:45:35 +0300 |
commit | bcd2458076512ad80c6e470d9434618f27dfec3c (patch) | |
tree | 92081015f8202b37abb3e6c79808e84ce0dccbe9 /spec/requests/api/commits_spec.rb | |
parent | f74bd44d2a9171c51ec7c9a622d7628044791d9e (diff) |
Refactor RedisCounter and WebIdeCommitsCounter
This MR refactor RedisCounter and WebIdeCommitsCounter
to be reused by other components.
Diffstat (limited to 'spec/requests/api/commits_spec.rb')
-rw-r--r-- | spec/requests/api/commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb index 204e378f7be..45da5391bc8 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::UsageDataCounters::WebIdeCommitsCounter).not_to receive(:increment) + expect(::Gitlab::UsageDataCounters::WebIdeCounter).not_to receive(:increment_commits_count) post api(url, user), params: valid_c_params end |