cache_store_spec: fix bad rebase.
https://github.com/Homebrew/brew/pull/4948#discussion_r219276137
This commit is contained in:
parent
108999f7d7
commit
f99f1b611f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user