Fix faulty Ci::Build#cache spec

This commit is contained in:
Matija Čupić 2018-01-04 21:22:23 +01:00
parent 2682966829
commit 0f137d8e9c
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 1 deletions

View File

@ -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