summaryrefslogtreecommitdiff
path: root/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb')
-rw-r--r--spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb b/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
index 0f88f4cb1e8..8fe340d3bae 100644
--- a/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
+++ b/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
@@ -9,7 +9,7 @@ feature 'Projects > Members > Master adds member with expiration date', :js do
let!(:new_member) { create(:user) }
background do
- project.team << [master, :master]
+ project.add_master(master)
sign_in(master)
end