Skip to content
This repository
Browse code

Silence parens warning

  • Loading branch information...
commit ebf14baa0eea1d7e98090b189369c1879b05dd54 1 parent b0ee1bd
Jeremy Kemper authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  activeresource/test/format_test.rb
2  activeresource/test/format_test.rb
@@ -90,7 +90,7 @@ def test_serialization_of_nested_resource
90 90
 
91 91
    [:json, :xml].each do |format|
92 92
      encoded_person = ActiveResource::Formats[format].encode(person)
93  
-     assert_match /12345 Street/, encoded_person
  93
+     assert_match(/12345 Street/, encoded_person)
94 94
      remote_person = Person.new(person.update({:address => StreetAddress.new(address)}))
95 95
      assert_kind_of StreetAddress, remote_person.address
96 96
      using_format(Person, format) do

0 notes on commit ebf14ba

Please sign in to comment.
Something went wrong with that request. Please try again.