diff options
| author | Mike McQuaid | 2017-09-29 13:59:52 +0100 |
|---|---|---|
| committer | GitHub | 2017-09-29 13:59:52 +0100 |
| commit | 296a44195bb8c8c0d5d9b512f10c7ee70f400efb (patch) | |
| tree | 0b814ef58bd8a8476f39b84a9166e39435ac38b4 /Library/Homebrew/test/exceptions_spec.rb | |
| parent | 978bd61f5883414d4e9813bd2456a984d0ecb0c7 (diff) | |
| parent | c19cc70ac8b87bfe93d2b94e5693584139238e23 (diff) | |
| download | brew-296a44195bb8c8c0d5d9b512f10c7ee70f400efb.tar.bz2 | |
Merge pull request #3176 from sjackman/bottle-formula
BottleLoader: Use the formula stored in the bottle
Diffstat (limited to 'Library/Homebrew/test/exceptions_spec.rb')
| -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 |
