提交 dcc75b05 编写于 作者: V Vipul A M

fix warnings in railties test

上级 f5644b0c
......@@ -131,11 +131,11 @@ def test_rake_test_deprecation_messages
%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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册