diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_formula_installer.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb index 643712d0c..1cdf54575 100644 --- a/Library/Homebrew/test/test_formula_installer.rb +++ b/Library/Homebrew/test/test_formula_installer.rb @@ -40,6 +40,8 @@ class InstallTests < Homebrew::TestCase def test_a_basic_install temporary_install(Testball.new) do |f| # Test that things made it into the Keg + assert_predicate f.prefix+"readme", :exist? + assert_predicate f.bin, :directory? assert_equal 3, f.bin.children.length @@ -48,6 +50,8 @@ class InstallTests < Homebrew::TestCase refute_predicate f.prefix+"main.c", :exist? + refute_predicate f.prefix+"license", :exist? + # Test that things make it into the Cellar keg = Keg.new f.prefix keg.link diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index 6329f6437..c1b09111b 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -10,5 +10,6 @@ class Testball < Formula def install prefix.install "bin" prefix.install "libexec" + Dir.chdir "doc" end end |
