summaryrefslogtreecommitdiff
path: root/spec/support/updating_mentions_shared_examples.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/updating_mentions_shared_examples.rb')
-rw-r--r--spec/support/updating_mentions_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/updating_mentions_shared_examples.rb b/spec/support/updating_mentions_shared_examples.rb
index 565d3203e4f..5e3f19ba19e 100644
--- a/spec/support/updating_mentions_shared_examples.rb
+++ b/spec/support/updating_mentions_shared_examples.rb
@@ -3,7 +3,7 @@ RSpec.shared_examples 'updating mentions' do |service_class|
let(:service_class) { service_class }
before do
- project.team << [mentioned_user, :developer]
+ project.add_developer(mentioned_user)
end
def update_mentionable(opts)