1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix misspelling of 'lambda'. Closes #987

This commit is contained in:
Ben Orenstein 2011-05-18 15:59:08 -04:00 committed by Josh Kalderimis
parent 0ab21539c9
commit 86491476d5

View file

@ -66,11 +66,11 @@ class OptionMergerTest < Test::Unit::TestCase
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