diff options
Diffstat (limited to 'Library/Homebrew/test/test_formula_install.rb')
| -rw-r--r-- | Library/Homebrew/test/test_formula_install.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb index 00fc1da6b..399571620 100644 --- a/Library/Homebrew/test/test_formula_install.rb +++ b/Library/Homebrew/test/test_formula_install.rb @@ -54,10 +54,7 @@ class InstallTests < Homebrew::TestCase f = Class.new(ScriptFileFormula) do url "file://#{File.expand_path(__FILE__)}" version "1" - def initialize - super "test_script_formula", Pathname.new(__FILE__).expand_path, :stable - end - end.new + end.new("test_script_formula", Pathname.new(__FILE__).expand_path, :stable) temporary_install(f) { assert_equal 1, f.bin.children.length } end |
