diff options
author | Ben Orenstein <ben.orenstein@gmail.com> | 2011-05-18 15:59:08 -0400 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-18 15:59:08 -0400 |
commit | 86491476d5ff346e46cc024a890bf1e71530bdd5 (patch) | |
tree | 4480b521a1b9dea5668df3335457fcfbf96fcbb0 | |
parent | 0ab21539c9d7121fe6b8b79988cf54597c52e5a3 (diff) | |
download | rails-86491476d5ff346e46cc024a890bf1e71530bdd5.tar.gz rails-86491476d5ff346e46cc024a890bf1e71530bdd5.tar.bz2 rails-86491476d5ff346e46cc024a890bf1e71530bdd5.zip |
Fix misspelling of 'lambda'. Closes #987
-rw-r--r-- | activesupport/test/option_merger_test.rb | 8 |
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 |