提交 c0376592 编写于 作者: A Aaron Patterson

do not blow away the test database on every run

上级 05603088
......@@ -58,16 +58,6 @@ def test_run_file_with_syntax_error
assert_match "syntax error", error_stream.read
end
def test_invoke_rake_db_test_load
app_file "lib/tasks/test.rake", <<-RUBY
task 'db:test:load' do
puts "Hello World"
end
RUBY
create_test_file
assert_match "Hello World", run_test_command
end
def test_run_models
create_test_file :models, 'foo'
create_test_file :models, 'bar'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册