Sha256: fcf47effbc5c95f556ea95c4d716624a5320ff72407e7c15f424a0611a763793

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

require 'authenticate'

ActiveRecord::Migration.verbose = false
# ActiveRecord::Base.logger = Logger.new(nil)
# ActiveRecord::Base.include_root_in_json = true

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

7 entries across 7 versions & 1 rubygems

Version Path
authenticate-0.3.1 spec/orm/active_record.rb
authenticate-0.3.0 spec/orm/active_record.rb
authenticate-0.2.3 spec/orm/active_record.rb
authenticate-0.2.2 spec/orm/active_record.rb
authenticate-0.2.1 spec/orm/active_record.rb
authenticate-0.2.0 spec/orm/active_record.rb
authenticate-0.1.0 spec/orm/active_record.rb