From 879b3360d3c664750dd90571f898c349e21442fb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Apr 2017 17:02:56 +0100 Subject: Handle missing receipt on `brew install`. For example if this is for a really old keg, keg where a user has manually removed stuff or used `brew diy`. --- Library/Homebrew/test/tab_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/tab_spec.rb b/Library/Homebrew/test/tab_spec.rb index fec390c28..1b0836c93 100644 --- a/Library/Homebrew/test/tab_spec.rb +++ b/Library/Homebrew/test/tab_spec.rb @@ -258,7 +258,7 @@ describe Tab do it "can create a Tab for a non-existant Keg" do f.prefix.mkpath - expect(subject.tabfile).to be nil + expect(subject.tabfile).to eq(f_tab_path) end end -- cgit v1.2.3