diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /spec/views/layouts/header/_new_dropdown.haml_spec.rb | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'spec/views/layouts/header/_new_dropdown.haml_spec.rb')
-rw-r--r-- | spec/views/layouts/header/_new_dropdown.haml_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/views/layouts/header/_new_dropdown.haml_spec.rb b/spec/views/layouts/header/_new_dropdown.haml_spec.rb index 01892e72c97..80342cbdb41 100644 --- a/spec/views/layouts/header/_new_dropdown.haml_spec.rb +++ b/spec/views/layouts/header/_new_dropdown.haml_spec.rb @@ -10,7 +10,7 @@ RSpec.describe 'layouts/header/_new_dropdown' do before do allow(Gitlab::Experimentation).to receive(:active?).and_return(true) allow(view).to receive(:experiment_tracking_category_and_group) - allow(view).to receive(:tracking_label).with(user) + allow(view).to receive(:tracking_label) end context 'with ability to invite members' do @@ -20,8 +20,8 @@ RSpec.describe 'layouts/header/_new_dropdown' do subject expect(view).to have_received(:experiment_tracking_category_and_group) - .with(:invite_members_new_dropdown, subject: user) - expect(view).to have_received(:tracking_label).with(user) + .with(:invite_members_new_dropdown) + expect(view).to have_received(:tracking_label) end end |