Skip to content
Snippets Groups Projects
Commit 13355c76 authored by Jack Nagel's avatar Jack Nagel
Browse files

Fix formula test helper parameters

parent fb3f9592
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class Test::Unit::TestCase
TEST_SHA1 = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef".freeze
TEST_SHA256 = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef".freeze
def formula(*args, &block)
@_f = Class.new(Formula, &block).new(*args)
def formula(name="formula_name", path=Formula.path(name), &block)
@_f = Class.new(Formula, &block).new(name, path)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment