提交 ab42f9c9 编写于 作者: J José Valim

Merge pull request #1133 from joshk/options_merger_test

Fix misspelling of 'lambda'. Closes #987
......@@ -66,11 +66,11 @@ def test_nested_method_with_options_containing_hashes_going_deep
end
end
def test_nested_method_with_options_using_lamdba
local_lamdba = lambda { { :lambda => true } }
def test_nested_method_with_options_using_lambda
local_lambda = lambda { { :lambda => true } }
with_options(@options) do |o|
assert_equal @options.merge(local_lamdba.call),
o.method_with_options(local_lamdba).call
assert_equal @options.merge(local_lambda.call),
o.method_with_options(local_lambda).call
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册