Sha256: 31da1345ccfbcb5fbc54748b8b25756f3fd1d2f946ced4127a74a22d1a44c755
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
require 'test/unit' require 'active_record' require 'transitions' require 'active_model/transitions' require 'mocha' require 'random_data' def db_defaults! ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') ActiveRecord::Migration.verbose = false end def set_up_db(*migrations) db_defaults! migrations.each { |klass| klass.send :migrate, :up } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
transitions-1.0.0 | test/helper.rb |
transitions-0.2.1 | test/helper.rb |