mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix out of sync comment
It appears that as of version 4 the `db:test:prepare` task no longer depends on the `abort_if_pending_migrations` task, which leaves this comment out of sync.
This commit is contained in:
parent
10762e9e55
commit
ca4f1e0440
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ db_namespace = namespace :db do
|
||||||
ActiveRecord::Tasks::DatabaseTasks.purge ActiveRecord::Base.configurations['test']
|
ActiveRecord::Tasks::DatabaseTasks.purge ActiveRecord::Base.configurations['test']
|
||||||
end
|
end
|
||||||
|
|
||||||
# desc 'Check for pending migrations and load the test schema'
|
# desc 'Load the test schema'
|
||||||
task :prepare => %w(environment load_config) do
|
task :prepare => %w(environment load_config) do
|
||||||
unless ActiveRecord::Base.configurations.blank?
|
unless ActiveRecord::Base.configurations.blank?
|
||||||
db_namespace['test:load'].invoke
|
db_namespace['test:load'].invoke
|
||||||
|
|
Loading…
Reference in a new issue