aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula_spec_selection.rb
diff options
context:
space:
mode:
authorJack Nagel2013-05-25 17:19:18 -0500
committerJack Nagel2013-05-25 17:19:18 -0500
commitae57857ac513a40863ff7c9693943e38d3b6a1ef (patch)
treef35e7690f1465792ca096cfda63bae6537a62089 /Library/Homebrew/test/test_formula_spec_selection.rb
parent55c3634a12f9b44edcca2f5c372d82b65d956ed5 (diff)
downloadhomebrew-ae57857ac513a40863ff7c9693943e38d3b6a1ef.tar.bz2
tests: extract common formula helper
Diffstat (limited to 'Library/Homebrew/test/test_formula_spec_selection.rb')
-rw-r--r--Library/Homebrew/test/test_formula_spec_selection.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_formula_spec_selection.rb b/Library/Homebrew/test/test_formula_spec_selection.rb
index b16192ac3..a04ccb424 100644
--- a/Library/Homebrew/test/test_formula_spec_selection.rb
+++ b/Library/Homebrew/test/test_formula_spec_selection.rb
@@ -2,10 +2,6 @@ require 'testing_env'
require 'formula'
class FormulaSpecSelectionTests < Test::Unit::TestCase
- def formula(*args, &block)
- @_f = Class.new(Formula, &block).new(*args)
- end
-
def assert_spec_selected(spec)
assert_equal @_f.send(spec), @_f.active_spec
end