Sha256: 7bde0d7bfe6147c7f7769fb7335e2f7408dc0dc3f8431c21eb61e6744d81cc8d
Contents?: true
Size: 421 Bytes
Versions: 11
Compression:
Stored size: 421 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 MigrationHelper.migrate(migrations_path) end def teardown_orm MigrationHelper.rollback(migrations_path) end def migrations_path Rails.root.join('db', 'migrate', 'core') end
Version data entries
11 entries across 11 versions & 1 rubygems