Fix `static-analysis` changes

This commit is contained in:
Kamil Trzciński 2018-05-28 15:32:31 +02:00 committed by Dylan Griffith
parent 2ccbe4fd34
commit c7f013f071
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ describe Ci::Runner do
context 'a different runner' do
let(:other_project) { create(:project) }
let(:other_runner) { create(:ci_runner, :project, projects: [other_project], tag_list: tag_list, run_untagged: run_untagged) }
it 'cannot handle builds' do
expect(other_runner.can_pick?(build)).to be_falsey
end