提交 464cd9dc 编写于 作者: A Andrew White

Merge pull request #9664 from sikachu/master-fix-test_test_failure

Fix test failure introduced in 3ed41e57
......@@ -50,13 +50,11 @@ def test_run_file_with_syntax_error
assert_match /SyntaxError/, error_stream.read
end
def test_invoke_rake_test_prepare
def test_invoke_rake_db_test_load
app_file "lib/tasks/test.rake", <<-RUBY
namespace :test do
task :prepare do
task 'db:test:load' do
puts "Hello World"
end
end
RUBY
create_test_file
assert_match /Hello World/, run_test_command
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册