Fix faulty Ci::Build#cache spec
This commit is contained in:
parent
2682966829
commit
0f137d8e9c
|
@ -270,7 +270,7 @@ describe Ci::Build do
|
|||
allow_any_instance_of(Project).to receive(:jobs_cache_index).and_return(1)
|
||||
end
|
||||
|
||||
it { is_expected.to include(key: "key:1") }
|
||||
it { is_expected.to be_an(Array).and all(include(key: "key:1")) }
|
||||
end
|
||||
|
||||
context 'when project does not have jobs_cache_index' do
|
||||
|
|
Loading…
Reference in New Issue