diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 15:41:27 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 15:41:27 -0500 |
commit | ebf14baa0eea1d7e98090b189369c1879b05dd54 (patch) | |
tree | 88eec86c1c2653d6546d6207edaf4bcfa087cd7b /activeresource/test | |
parent | b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e (diff) | |
download | rails-ebf14baa0eea1d7e98090b189369c1879b05dd54.tar.gz rails-ebf14baa0eea1d7e98090b189369c1879b05dd54.tar.bz2 rails-ebf14baa0eea1d7e98090b189369c1879b05dd54.zip |
Silence parens warning
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 a564ee01b5..01cc162075 100644 --- a/activeresource/test/format_test.rb +++ b/activeresource/test/format_test.rb @@ -90,7 +90,7 @@ class FormatTest < Test::Unit::TestCase [:json, :xml].each do |format| encoded_person = ActiveResource::Formats[format].encode(person) - assert_match /12345 Street/, encoded_person + assert_match(/12345 Street/, encoded_person) remote_person = Person.new(person.update({:address => StreetAddress.new(address)})) assert_kind_of StreetAddress, remote_person.address using_format(Person, format) do |