Merge pull request #4960 from MikeMcQuaid/cache_store_spec_bad_rebase

cache_store_spec: fix bad rebase.
This commit is contained in:
Mike McQuaid 2018-09-21 15:53:43 +01:00 committed by GitHub
commit d44bc8be27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ describe CacheStoreDatabase do
allow(subject).to receive(:cache_path).and_return(cache_path)
end
context "`File.exist?(cache_path)` returns `true`" do
context "`cache_path.exist?` returns `true`" do
before do
allow(cache_path).to receive(:exist?).and_return(true)
end
@ -134,7 +134,7 @@ describe CacheStoreDatabase do
end
end
context "`File.exist?(cache_path)` returns `false`" do
context "`cache_path.exist?` returns `false`" do
before do
allow(cache_path).to receive(:exist?).and_return(false)
end