diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_formula_installer.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb index f9ac3fa17..a76ef66df 100644 --- a/Library/Homebrew/test/test_formula_installer.rb +++ b/Library/Homebrew/test/test_formula_installer.rb @@ -49,22 +49,4 @@ class InstallTests < Homebrew::TestCase assert_equal 3, bin.children.length end end - - def test_script_install - mktmpdir do |dir| - name = "test_script_formula" - path = Pathname.new(dir)+"#{name}.rb" - - path.write <<-EOS.undent - class #{Formulary.class_s(name)} < ScriptFileFormula - url "file://#{File.expand_path(__FILE__)}" - version "1" - end - EOS - - f = Formulary.factory(path.to_s) - - temporary_install(f) { assert_equal 1, f.bin.children.length } - end - end end |
