aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-07 15:41:27 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-07 15:41:27 -0500
commitebf14baa0eea1d7e98090b189369c1879b05dd54 (patch)
tree88eec86c1c2653d6546d6207edaf4bcfa087cd7b /activeresource/test
parentb0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e (diff)
downloadrails-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.rb2
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