Skip to content
Snippets Groups Projects
Commit deb5509f authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Admins should be able to assign locked runners as well

parent 2b521183
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment