```ruby
ActiveRecord::Migration.verbose = false

ActiveRecord::Migrator.migrate(File.expand_path('../../rails_app/db/migrate/', __FILE__))
```

Fix specs on Rails 5.2
user
```ruby
ActiveRecord::Migration.verbose = false

migration_path = File.expand_path('../../rails_app/db/migrate/', __FILE__)
if ActiveRecord.version.release < Gem::Version.new('5.2.0')
  ActiveRecord::Migrator.migrate(migration_path)
else
  ActiveRecord::MigrationContext.new(migration_path).migrate
end
```
assistant