From f99f1b611fbc8f37eecdf465bdc21a4ceb101f20 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 21 Sep 2018 14:36:38 +0100 Subject: [PATCH] cache_store_spec: fix bad rebase. https://github.com/Homebrew/brew/pull/4948#discussion_r219276137 --- Library/Homebrew/test/cache_store_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/cache_store_spec.rb b/Library/Homebrew/test/cache_store_spec.rb index e2cb9e5d1b..0fdcc7d5ed 100644 --- a/Library/Homebrew/test/cache_store_spec.rb +++ b/Library/Homebrew/test/cache_store_spec.rb @@ -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