Sha256: eeeeb1bc7ab10f4c4cb566a7921225f54cd5fb92b2d9fcd30724b1794f554c3c
Contents?: true
Size: 819 Bytes
Versions: 14
Compression:
Stored size: 819 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'rails_app', 'config', 'environment') require 'test_help' ActiveRecord::Migration.verbose = false ActiveRecord::Base.logger = Logger.new(nil) ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") ActiveRecord::Schema.define(:version => 1) do [:users, :admins, :accounts].each do |table| create_table table do |t| t.database_authenticatable :null => table == :admins if table != :admin t.string :username t.confirmable t.recoverable t.rememberable t.trackable t.lockable t.token_authenticatable end t.timestamps end end end class ActiveSupport::TestCase self.use_transactional_fixtures = true self.use_instantiated_fixtures = false end
Version data entries
14 entries across 9 versions & 3 rubygems