Simplify Recipe#test_macro prototype
This commit is contained in:
1 parent
3b28045340
commit
6b6107895e
1 file changed
+2
-2
@@ -32,8 +32,8 @@ module Producer
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_macro(name, dsl: Condition, &block)
|
def test_macro(name, &block)
|
||||||
dsl.define_test(name, block)
|
Condition.define_test(name, block)
|
||||||
end
|
end
|
||||||
|
|
||||||
def set(key, value)
|
def set(key, value)
|
||||||
|
|||||||
Reference in new issue
Block a user