test/resource_spec: fix flaky test
This commit is contained in:
parent
32ab83d055
commit
c241dccbc8
@ -157,7 +157,7 @@ describe Resource do
|
||||
end
|
||||
|
||||
specify "#verify_download_integrity_mismatch" do
|
||||
fn = double(file?: true)
|
||||
fn = double(file?: true, basename: "foo")
|
||||
checksum = subject.sha256(TEST_SHA256)
|
||||
|
||||
expect(fn).to receive(:verify_checksum).with(checksum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user