aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/test/option_merger_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/test/option_merger_test.rb b/activesupport/test/option_merger_test.rb
index 5b2e16a212..2bdd3034e5 100644
--- a/activesupport/test/option_merger_test.rb
+++ b/activesupport/test/option_merger_test.rb
@@ -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