1
0
Fork 0
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:
Brandon Conway 2015-09-23 23:04:24 -07:00
parent 10762e9e55
commit ca4f1e0440

View file

@ -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