Fix spec/features/runners_spec.rb
This commit is contained in:
parent
da75618beb
commit
85949ac151
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue