Commit d2c6f6b4 authored by Matija Čupić's avatar Matija Čupić

Fix faulty Ci::Build#cache spec

parent 0d7a785a
......@@ -289,7 +289,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment