diff options
Diffstat (limited to 'spec/support/shared_examples/controllers/unique_hll_events_examples.rb')
-rw-r--r-- | spec/support/shared_examples/controllers/unique_hll_events_examples.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared_examples/controllers/unique_hll_events_examples.rb b/spec/support/shared_examples/controllers/unique_hll_events_examples.rb index 842ad89bafd..38c3157e898 100644 --- a/spec/support/shared_examples/controllers/unique_hll_events_examples.rb +++ b/spec/support/shared_examples/controllers/unique_hll_events_examples.rb @@ -2,14 +2,14 @@ # # Requires a context containing: # - request -# - expected_type -# - target_id +# - expected_value +# - target_event RSpec.shared_examples 'tracking unique hll events' do it 'tracks unique event' do expect(Gitlab::UsageDataCounters::HLLRedisCounter).to( receive(:track_event) - .with(target_id, values: expected_type) + .with(target_event, values: expected_value) .and_call_original # we call original to trigger additional validations; otherwise the method is stubbed ) |