fix: Run actiontext migrations for rails >= 6

- as actiontext is made available on rails 6.0
This commit is contained in:
Kapil Sachdev 2020-11-02 22:32:54 +05:30 committed by Elliot Winkler
parent 59f7c0b6ac
commit a06f0ae502
1 changed files with 1 additions and 3 deletions

View File

@ -26,9 +26,7 @@ module UnitTests
def load
load_environment
if rails_version > 5 && bundle.includes?('actiontext')
add_action_text_migration
end
add_action_text_migration if bundle.includes?('actiontext')
run_migrations
end