Rename to assignable runner for shared examples:

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4961#note_12738607
This commit is contained in:
Lin Jen-Shin 2016-06-28 18:33:25 +08:00
parent 95c99cd4fd
commit d08777b1a4
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ describe "Admin Runners" do
end
describe 'enable/create' do
shared_examples 'enable runners' do
shared_examples 'assignable runner' do
it 'enables a runner for a project' do
within '.unassigned-projects' do
click_on 'Enable'
@ -80,7 +80,7 @@ describe "Admin Runners" do
visit admin_runner_path(runner)
end
it_behaves_like 'enable runners'
it_behaves_like 'assignable runner'
end
context 'with shared runner' do
@ -90,7 +90,7 @@ describe "Admin Runners" do
visit admin_runner_path(runner)
end
it_behaves_like 'enable runners'
it_behaves_like 'assignable runner'
end
end