Sha256: df66e3f3b752c2e88b7dd8d05897683d3c410cdcebc29ae50dcc0751eb224344
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
require 'sorcery' ActiveRecord::Migration.verbose = false # ActiveRecord::Base.logger = Logger.new(nil) # ActiveRecord::Base.include_root_in_json = true class TestUser < ActiveRecord::Base authenticates_with_sorcery! end def setup_orm ActiveRecord::Migrator.migrate(migrations_path) end def teardown_orm ActiveRecord::Migrator.rollback(migrations_path) end def migrations_path Rails.root.join('db', 'migrate', 'core') end
Version data entries
6 entries across 6 versions & 1 rubygems