diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 03:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 03:09:53 +0300 |
commit | 1502c20d04c7ff8d719175c76b0a2507ab390172 (patch) | |
tree | dc01bfe0877bd93e7047db28dd972c7d597a527b /spec/mailers | |
parent | f96f2720d1b21b76eadedc54fdea67cb70e98d94 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 382f29e1bed..b4688cc02c4 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -1453,7 +1453,7 @@ RSpec.describe Notify do shared_examples "tracks the 'sent' event for the invitation reminders experiment" do before do stub_experiment(invitation_reminders: true) - allow(Gitlab::Experimentation).to receive(:enabled_for_attribute?).with(:invitation_reminders, group_member.invite_email).and_return(experimental_group) + allow(Gitlab::Experimentation).to receive(:in_experiment_group?).with(:invitation_reminders, subject: group_member.invite_email).and_return(experimental_group) end it "tracks the 'sent' event", :snowplow do |