diff options
author | kennyj <kennyj@gmail.com> | 2011-11-24 00:10:34 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2011-11-24 00:10:34 +0900 |
commit | 453f5534b4a8517c6fd39702fc98f0c6f1d5fd9e (patch) | |
tree | 784c99f602da7756c6cf2b7db86f5f04e4a4fb59 /actionpack/test | |
parent | a93ee92da2b9ba83e3a3fe0b8d4dd5cac2790f15 (diff) | |
download | rails-453f5534b4a8517c6fd39702fc98f0c6f1d5fd9e.tar.gz rails-453f5534b4a8517c6fd39702fc98f0c6f1d5fd9e.tar.bz2 rails-453f5534b4a8517c6fd39702fc98f0c6f1d5fd9e.zip |
Warnings removed. (ambiguous first argument)
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/show_exceptions_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/show_exceptions_test.rb b/actionpack/test/controller/show_exceptions_test.rb index 39245e9574..74067cb895 100644 --- a/actionpack/test/controller/show_exceptions_test.rb +++ b/actionpack/test/controller/show_exceptions_test.rb @@ -22,7 +22,7 @@ module ShowExceptions ['127.0.0.1', '127.0.0.127', '::1', '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1%0'].each do |ip_address| self.remote_addr = ip_address get '/' - assert_match /boom/, body + assert_match(/boom/, body) end end @@ -31,7 +31,7 @@ module ShowExceptions @app = ShowExceptionsController.action(:boom) self.remote_addr = '208.77.188.166' get '/' - assert_match /boom/, body + assert_match(/boom/, body) end end @@ -53,7 +53,7 @@ module ShowExceptions test 'show diagnostics message' do @app = ShowExceptionsOverridenController.action(:boom) get '/', {'detailed' => '1'} - assert_match /boom/, body + assert_match(/boom/, body) end end end |