summaryrefslogtreecommitdiff
path: root/spec/features/projects/commit/builds_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/commit/builds_spec.rb')
-rw-r--r--spec/features/projects/commit/builds_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/commit/builds_spec.rb b/spec/features/projects/commit/builds_spec.rb
index 79e84a4f0a6..36a746ac83d 100644
--- a/spec/features/projects/commit/builds_spec.rb
+++ b/spec/features/projects/commit/builds_spec.rb
@@ -5,7 +5,7 @@ feature 'project commit pipelines', :js do
background do
user = create(:user)
- project.team << [user, :master]
+ project.add_master(user)
sign_in(user)
end