1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

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

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