1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

do not blow away the test database on every run

This commit is contained in:
Aaron Patterson 2013-04-05 14:22:29 -07:00
parent 056030886c
commit c037659294

View file

@ -58,16 +58,6 @@ module ApplicationTests
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'