cache_store_spec: fix bad rebase.

https://github.com/Homebrew/brew/pull/4948#discussion_r219276137
This commit is contained in:
Mike McQuaid 2018-09-21 14:36:38 +01:00
parent 108999f7d7
commit f99f1b611f
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

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