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:
parent
0ab21539c9
commit
86491476d5
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue