mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:08 -05:00
Fix misspelling of 'lambda'. Closes #987
This commit is contained in:
committed by
Josh Kalderimis
parent
0ab21539c9
commit
86491476d5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user