summaryrefslogtreecommitdiff
path: root/spec/controllers/projects/settings
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-04 23:38:13 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-01-04 23:38:13 +0100
commit9c9f7dc639768a0d6b930ec11c050a1333df934e (patch)
tree7a54287bb3e8eec9a57223bdace347de72beb936 /spec/controllers/projects/settings
parent6fb4a533b74c861a1e533604da462efb6d309de0 (diff)
parent6f1b4dc76b4619f538b7216ad3a10ca9336d0c2b (diff)
downloadgitlab-ce-9c9f7dc639768a0d6b930ec11c050a1333df934e.tar.gz
Merge branch 'master' into 41249-clearing-the-cache
Diffstat (limited to 'spec/controllers/projects/settings')
-rw-r--r--spec/controllers/projects/settings/ci_cd_controller_spec.rb2
-rw-r--r--spec/controllers/projects/settings/integrations_controller_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects/settings/ci_cd_controller_spec.rb b/spec/controllers/projects/settings/ci_cd_controller_spec.rb
index acd40f4a305..e8ba04c7f24 100644
--- a/spec/controllers/projects/settings/ci_cd_controller_spec.rb
+++ b/spec/controllers/projects/settings/ci_cd_controller_spec.rb
@@ -5,7 +5,7 @@ describe Projects::Settings::CiCdController do
let(:user) { create(:user) }
before do
- project.team << [user, :master]
+ project.add_master(user)
sign_in(user)
end
diff --git a/spec/controllers/projects/settings/integrations_controller_spec.rb b/spec/controllers/projects/settings/integrations_controller_spec.rb
index 3068837f394..77df9a6f567 100644
--- a/spec/controllers/projects/settings/integrations_controller_spec.rb
+++ b/spec/controllers/projects/settings/integrations_controller_spec.rb
@@ -5,7 +5,7 @@ describe Projects::Settings::IntegrationsController do
let(:user) { create(:user) }
before do
- project.team << [user, :master]
+ project.add_master(user)
sign_in(user)
end