diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-22 18:40:08 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-22 19:19:13 -0800 |
commit | c79fb32e93c7ed9d5c0f39194ee48183faf3b5c9 (patch) | |
tree | 0d016f2c4f3848520e94e1866f2a6f05c6139520 /activeresource/test | |
parent | dc07c0e02b16031e5ff7cf650f0894654d525a03 (diff) | |
download | rails-c79fb32e93c7ed9d5c0f39194ee48183faf3b5c9.tar.gz rails-c79fb32e93c7ed9d5c0f39194ee48183faf3b5c9.tar.bz2 rails-c79fb32e93c7ed9d5c0f39194ee48183faf3b5c9.zip |
Ruby 1.9 compat: don't shadow local var with block arg
Diffstat (limited to 'activeresource/test')
-rw-r--r-- | activeresource/test/format_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/test/format_test.rb b/activeresource/test/format_test.rb index 3194c2dcd1..c3733e13d8 100644 --- a/activeresource/test/format_test.rb +++ b/activeresource/test/format_test.rb @@ -15,7 +15,7 @@ class FormatTest < Test::Unit::TestCase assert_equal 'Accept', header_name headers_names = [ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES[:put], ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES[:post]] - headers_names.each{|header_name| assert_equal 'Content-Type', header_name} + headers_names.each{ |name| assert_equal 'Content-Type', name } end def test_formats_on_single_element |