Skip to content
This repository
Browse code

Fix warnings

  • Loading branch information...
commit b67043393b5ed6079989513299fe303ec3bc133b 1 parent a4c9538
Carlos Antonio da Silva authored
4  actionpack/test/controller/action_pack_assertions_test.rb
@@ -152,12 +152,12 @@ def test_assert_tag_and_url_for
152 152
 
153 153
   def test_render_file_absolute_path
154 154
     get :render_file_absolute_path
155  
-    assert_match /\A= Action Pack/, @response.body
  155
+    assert_match(/\A= Action Pack/, @response.body)
156 156
   end
157 157
 
158 158
   def test_render_file_relative_path
159 159
     get :render_file_relative_path
160  
-    assert_match /\A= Action Pack/, @response.body
  160
+    assert_match(/\A= Action Pack/, @response.body)
161 161
   end
162 162
 
163 163
   def test_get_request

0 notes on commit b670433

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