summaryrefslogtreecommitdiff
path: root/spec/features/runners_spec.rb
diff options
context:
space:
mode:
authorMykhailo Formus <mikeformus@gmail.com>2018-07-12 09:55:01 +0000
committerMykhailo Formus <mikeformus@gmail.com>2018-07-12 09:55:01 +0000
commit7a21f39df92baaa88f9533316e7b19c9c70bd91e (patch)
tree090f49a7edc682c31ac29465205c16201bdbe03d /spec/features/runners_spec.rb
parent331f8d71b2c778f10b926114caeb718bce7294d6 (diff)
parent767ccaa1725048cd2b27fbf1081cba3ba89d2926 (diff)
downloadgitlab-ce-mikeformus/gitlab-ce-qa-264.tar.gz
Merge branch 'master' into qa-264mikeformus/gitlab-ce-qa-264
Diffstat (limited to 'spec/features/runners_spec.rb')
-rw-r--r--spec/features/runners_spec.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb
index 443c2b9acae..0c6cf3dc477 100644
--- a/spec/features/runners_spec.rb
+++ b/spec/features/runners_spec.rb
@@ -11,7 +11,7 @@ describe 'Runners' do
let(:project) { create(:project) }
before do
- project.add_master(user)
+ project.add_maintainer(user)
end
it 'user can see a button to install runners on kubernetes clusters' do
@@ -25,7 +25,7 @@ describe 'Runners' do
let(:project) { create(:project) }
before do
- project.add_master(user)
+ project.add_maintainer(user)
end
context 'when a project_type runner is activated on the project' do
@@ -125,7 +125,7 @@ describe 'Runners' do
let!(:specific_runner) { create(:ci_runner, :project, projects: [another_project]) }
before do
- another_project.add_master(user)
+ another_project.add_maintainer(user)
end
it 'user enables and disables a specific runner' do
@@ -165,7 +165,7 @@ describe 'Runners' do
let(:project) { create(:project, shared_runners_enabled: false) }
before do
- project.add_master(user)
+ project.add_maintainer(user)
end
it 'user enables shared runners' do
@@ -179,14 +179,14 @@ describe 'Runners' do
context 'group runners in project settings' do
before do
- project.add_master(user)
+ project.add_maintainer(user)
end
let(:group) { create :group }
context 'as project and group maintainer' do
before do
- group.add_master(user)
+ group.add_maintainer(user)
end
context 'project with a group but no group runner' do
@@ -260,7 +260,7 @@ describe 'Runners' do
context 'group runners in group settings' do
let(:group) { create(:group) }
before do
- group.add_master(user)
+ group.add_maintainer(user)
end
context 'group with no runners' do