Sha256: 5cd5fb596b2521d42cc1ce7576f8efb4a3f6b4438d26800cda9def5da97dd429
Contents?: true
Size: 557 Bytes
Versions: 9
Compression:
Stored size: 557 Bytes
Contents
ActiveRecord::Migration.verbose = false ActiveRecord::Base.logger = Logger.new(nil) ActiveRecord::Migrator.migrate(File.expand_path("../../../db/migrate/", __FILE__)) puts "Migrating #{File.expand_path("../../../db/migrate/", __FILE__)}" ActiveRecord::Migrator.migrate(File.expand_path("../../rails_app/db/migrate/", __FILE__)) puts "Migrating #{File.expand_path("../../rails_app/db/migrate/", __FILE__)}" RSpec.configure do |config| config.before(:suite) do DatabaseCleaner.strategy = :truncation DatabaseCleaner.orm = "active_record" end end
Version data entries
9 entries across 9 versions & 1 rubygems