diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-25 00:06:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-25 00:06:26 +0300 |
commit | 46bfa73d93786bc2a832be7e42e2119712a0bafb (patch) | |
tree | da48cc5babc92871cda768a980042aeb061c5ace /spec/lib | |
parent | c4edbefa458319a81e238f8f034d19f6ea6292ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-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 |