diff --git a/spec/support/unit/rails_application.rb b/spec/support/unit/rails_application.rb index b31d80db..c0eba35d 100644 --- a/spec/support/unit/rails_application.rb +++ b/spec/support/unit/rails_application.rb @@ -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