BigW Consortium Gitlab

Commit d08777b1 by Lin Jen-Shin

Rename to assignable runner for shared examples:

parent 95c99cd4
...@@ -62,7 +62,7 @@ describe "Admin Runners" do ...@@ -62,7 +62,7 @@ describe "Admin Runners" do
end end
describe 'enable/create' do describe 'enable/create' do
shared_examples 'enable runners' do shared_examples 'assignable runner' do
it 'enables a runner for a project' do it 'enables a runner for a project' do
within '.unassigned-projects' do within '.unassigned-projects' do
click_on 'Enable' click_on 'Enable'
...@@ -80,7 +80,7 @@ describe "Admin Runners" do ...@@ -80,7 +80,7 @@ describe "Admin Runners" do
visit admin_runner_path(runner) visit admin_runner_path(runner)
end end
it_behaves_like 'enable runners' it_behaves_like 'assignable runner'
end end
context 'with shared runner' do context 'with shared runner' do
...@@ -90,7 +90,7 @@ describe "Admin Runners" do ...@@ -90,7 +90,7 @@ describe "Admin Runners" do
visit admin_runner_path(runner) visit admin_runner_path(runner)
end end
it_behaves_like 'enable runners' it_behaves_like 'assignable runner'
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment