diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-04-04 10:21:43 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-04-04 10:21:43 +0530 |
commit | dcc75b05d441ea379e84f47d2d4adee12e9f5ddd (patch) | |
tree | 4f8bdcda21465612e2def4e644301ceb97c899f2 /railties/test/application | |
parent | f5644b0cd692715774aa04e1fd692597ca68e5ec (diff) | |
download | rails-dcc75b05d441ea379e84f47d2d4adee12e9f5ddd.tar.gz rails-dcc75b05d441ea379e84f47d2d4adee12e9f5ddd.tar.bz2 rails-dcc75b05d441ea379e84f47d2d4adee12e9f5ddd.zip |
fix warnings in railties test
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index a9e0e1bcb7..4b8e813105 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -131,11 +131,11 @@ module ApplicationTests %w(run recent uncommitted models helpers units controllers functionals integration).each do |test_suit_name| output = Dir.chdir(app_path) { `rake test:#{test_suit_name} 2>&1` } - assert_match /DEPRECATION WARNING: `rake test:#{test_suit_name}` is deprecated/, output + assert_match(/DEPRECATION WARNING: `rake test:#{test_suit_name}` is deprecated/, output) end - assert_match /DEPRECATION WARNING: `rake test:single` is deprecated/, - Dir.chdir(app_path) { `rake test:single TEST=test/models/user_test.rb 2>&1` } + assert_match(/DEPRECATION WARNING: `rake test:single` is deprecated/, + Dir.chdir(app_path) { `rake test:single TEST=test/models/user_test.rb 2>&1` }) end def test_rake_routes_calls_the_route_inspector |