Sha256: 83435797ec119e4f7c596b18167781b0f8b2abe252bb99db5c7ba8d5de10d6f7

Contents?: true

Size: 369 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
authenticate-0.7.3 spec/orm/active_record.rb
authenticate-0.7.2 spec/orm/active_record.rb
authenticate-0.7.1 spec/orm/active_record.rb
authenticate-0.7.0 spec/orm/active_record.rb
authenticate-0.6.1 spec/orm/active_record.rb
authenticate-0.6.0 spec/orm/active_record.rb
authenticate-0.5.0 spec/orm/active_record.rb
authenticate-0.4.0 spec/orm/active_record.rb
authenticate-0.3.3 spec/orm/active_record.rb
authenticate-0.3.2 spec/orm/active_record.rb