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:
parent
056030886c
commit
c037659294
1 changed files with 0 additions and 10 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue