Admins should be able to assign locked runners as well
This commit is contained in:
parent
2b52118333
commit
deb5509f7b
1 changed files with 10 additions and 0 deletions
|
@ -83,6 +83,16 @@ describe "Admin Runners" do
|
|||
it_behaves_like 'assignable runner'
|
||||
end
|
||||
|
||||
context 'with locked runner' do
|
||||
before do
|
||||
runner.update(locked: true)
|
||||
@project1.runners << runner
|
||||
visit admin_runner_path(runner)
|
||||
end
|
||||
|
||||
it_behaves_like 'assignable runner'
|
||||
end
|
||||
|
||||
context 'with shared runner' do
|
||||
before do
|
||||
@project1.destroy
|
||||
|
|
Loading…
Reference in a new issue