Fix incorrect test migration.

This commit is contained in:
Guo Xiang Tan 2017-08-10 00:19:41 +09:00
parent 7b3631454d
commit a1f60cfcb8
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ task 'db:migrate', [:multisite] => ['environment', 'set_locale'] do |_, args|
if Rails.env.test? && !args[:multisite]
system("rake db:schema:dump")
system("MULTISITE=multisite rake db:schema:load")
system("MULTISITE=multisite rake db:migrate['multisite']")
system("RAILS_DB=discourse_test_multisite rake db:migrate['multisite']")
end
end