diff options
Diffstat (limited to 'spec/lib/gitlab/tracking_spec.rb')
-rw-r--r-- | spec/lib/gitlab/tracking_spec.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/lib/gitlab/tracking_spec.rb b/spec/lib/gitlab/tracking_spec.rb index 4615599be7e..3ceaf159b3f 100644 --- a/spec/lib/gitlab/tracking_spec.rb +++ b/spec/lib/gitlab/tracking_spec.rb @@ -19,11 +19,10 @@ describe Gitlab::Tracking do cookieDomain: '.gitfoo.com', appId: '_abc123_', formTracking: true, - linkClickTracking: true, - userId: nil + linkClickTracking: true } - expect(subject.snowplow_options(nil, nil)).to match(expected_fields) + expect(subject.snowplow_options(nil)).to match(expected_fields) end it 'enables features using feature flags' do @@ -37,7 +36,7 @@ describe Gitlab::Tracking do linkClickTracking: false } - expect(subject.snowplow_options('_group_', nil)).to include(addition_feature_fields) + expect(subject.snowplow_options('_group_')).to include(addition_feature_fields) end end |