aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-07 21:32:51 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-07 21:32:51 -0300
commitb67043393b5ed6079989513299fe303ec3bc133b (patch)
tree1fc892562698b99b49675061cdaca66e86584ec8 /actionpack/test
parenta4c953896787f27cb3860f45408fd6f1c1c6666d (diff)
downloadrails-b67043393b5ed6079989513299fe303ec3bc133b.tar.gz
rails-b67043393b5ed6079989513299fe303ec3bc133b.tar.bz2
rails-b67043393b5ed6079989513299fe303ec3bc133b.zip
Fix warnings
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index ba4efdd7ee..22a410db94 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -152,12 +152,12 @@ class ActionPackAssertionsControllerTest < ActionController::TestCase
def test_render_file_absolute_path
get :render_file_absolute_path
- assert_match /\A= Action Pack/, @response.body
+ assert_match(/\A= Action Pack/, @response.body)
end
def test_render_file_relative_path
get :render_file_relative_path
- assert_match /\A= Action Pack/, @response.body
+ assert_match(/\A= Action Pack/, @response.body)
end
def test_get_request