Sha256: 7759088f3c321c12ac7cbc6e3a6c35de0aab7ed9d636313ac5ca6b26c5841312

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

require "test/unit"
require "rubygems"
require "ruby-debug"
require "active_record"
require 'shoulda'
require 'authlogic'
 
ActiveRecord::Schema.verbose = false
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:")
ActiveRecord::Base.configurations = true
ActiveRecord::Schema.define(:version => 1) do
  create_table :users do |t|
    t.datetime :created_at
    t.datetime :updated_at
    t.integer :lock_version, :default => 0
    t.string :login
    t.string :crypted_password
    t.string :password_salt
    t.string :persistence_token
    t.string :single_access_token
    t.string :perishable_token
    t.string :wind_login
    t.string :email
    t.integer :login_count, :default => 0, :null => false
    t.integer :failed_login_count, :default => 0, :null => false
    t.datetime :last_request_at
    t.datetime :current_login_at
    t.datetime :last_login_at
    t.string :current_login_ip
    t.string :last_login_ip
  end
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
# require 'authlogic_wind'


class Test::Unit::TestCase
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authlogic_wind-0.4.0 test/test_helper.rb
authlogic_wind-0.3.2 test/test_helper.rb
authlogic_wind-0.3.0 test/test_helper.rb
authlogic_wind-0.2.0 test/test_helper.rb
authlogic_wind-0.1.2 test/test_helper.rb
authlogic_wind-0.1.1 test/test_helper.rb
authlogic_wind-0.1.0 test/test_helper.rb