Permalink
Browse files

Remove warning with assert match

  • Loading branch information...
1 parent 1372f0c commit dae7947ce464fa4cad6f05301bb1b6d5ebe8af8e @carlosantoniodasilva carlosantoniodasilva committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_router.rb
View
@@ -197,7 +197,7 @@ def test_knows_what_parts_are_missing_from_named_route
@formatter.generate(:path_info, route_name, { }, { })
end
- assert_match /required keys: \[:id\]/, error.message
+ assert_match(/required keys: \[:id\]/, error.message)
end
def test_X_Cascade

0 comments on commit dae7947

Please sign in to comment.