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:
parent
59f7c0b6ac
commit
a06f0ae502
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue