diff options
| author | Shaun Jackman | 2017-09-19 12:22:32 -0700 | 
|---|---|---|
| committer | Shaun Jackman | 2017-09-28 12:29:23 -0700 | 
| commit | 3ed832d4f0465aa9d938d3f4867ad12aaf394710 (patch) | |
| tree | 2cc3303acfdfbc1ed4bc1f9ee76a625fef42e34d /Library/Homebrew/test | |
| parent | 9642ec769e6b187c375964e4206e5ac4014d37fa (diff) | |
| download | brew-3ed832d4f0465aa9d938d3f4867ad12aaf394710.tar.bz2 | |
BottleLoader: Use the formula stored in the bottle
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/exceptions_spec.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/Library/Homebrew/test/exceptions_spec.rb b/Library/Homebrew/test/exceptions_spec.rb index 33547ea32..0a8313355 100644 --- a/Library/Homebrew/test/exceptions_spec.rb +++ b/Library/Homebrew/test/exceptions_spec.rb @@ -181,8 +181,8 @@ describe DuplicateResourceError do    its(:to_s) { is_expected.to eq("Resource <resource foo> is defined more than once") }  end -describe BottleVersionMismatchError do -  subject { described_class.new("/foo.bottle.tar.gz", "1.0", formula, "1.1") } +describe BottleFormulaUnavailableError do +  subject { described_class.new("/foo.bottle.tar.gz", "foo/1.0/.brew/foo.rb") }    let(:formula) { double(Formula, full_name: "foo") } -  its(:to_s) { is_expected.to match(/Bottle version mismatch/) } +  its(:to_s) { is_expected.to match(/This bottle does not contain the formula file/) }  end | 
