Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-24 13:27:28 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-31 11:56:28 +0300
commit85949ac151e77086d586c6e14007349fcb9680ce (patch)
tree49129fa86155306d14858fcdc6792252c94a67f1 /spec/features/runners_spec.rb
parentda75618bebe57132f847df733625cc4757f8084d (diff)
Fix spec/features/runners_spec.rb
Diffstat (limited to 'spec/features/runners_spec.rb')
-rw-r--r--spec/features/runners_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb
index 9942de526d8..9ce7d538004 100644
--- a/spec/features/runners_spec.rb
+++ b/spec/features/runners_spec.rb
@@ -29,7 +29,7 @@ feature 'Runners' do
end
context 'when a project_type runner is activated on the project' do
- given(:specific_runner) { create(:ci_runner, :project, projects: [specific_runner]) }
+ given!(:specific_runner) { create(:ci_runner, :project, projects: [project]) }
scenario 'user sees the specific runner' do
visit project_runners_path(project)
@@ -122,7 +122,7 @@ feature 'Runners' do
context 'when a specific runner exists in another project' do
given(:another_project) { create(:project) }
- given(:specific_runner) { create(:ci_runner, :project, projects: [another_project]) }
+ given!(:specific_runner) { create(:ci_runner, :project, projects: [another_project]) }
background do
another_project.add_master(user)