aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-04-02 17:02:56 +0100
committerMike McQuaid2017-04-02 17:02:56 +0100
commit879b3360d3c664750dd90571f898c349e21442fb (patch)
tree34b8fb4071c8df6791d1309a3e0cc082bbfec0df /Library/Homebrew/test
parent081461a268f02aafa0753b6391e5129c929259c9 (diff)
downloadbrew-879b3360d3c664750dd90571f898c349e21442fb.tar.bz2
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`.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/tab_spec.rb2
1 files changed, 1 insertions, 1 deletions
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