Sha256: 170d0cb6cdc7ba26fabb5bf36ee8f0fac1ffcc226b6f2f8381a38aa9362a952a
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
module MigrationsHelper def run_migration(migration, directions) silence_stream(STDOUT) do Array.wrap(directions).each do |direction| migration.migrate(direction) end end end def connection @_connection ||= ActiveRecord::Base.connection end end RSpec.configure do |config| config.include MigrationsHelper end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fx-0.1.0 | spec/support/migration_helpers.rb |