Sha256: 0031d89da2ff54d5df19e7c0c4e1b40db21a237cc967114721408c62303e16b8

Contents?: true

Size: 531 Bytes

Versions: 22

Compression:

Stored size: 531 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
require File.expand_path(File.dirname(__FILE__) + '/../../shared_examples/user_brute_force_protection_shared_examples')

describe "User with brute_force_protection submodule" do
  before(:all) do
    ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate/brute_force_protection")
  end
  
  after(:all) do
    ActiveRecord::Migrator.rollback("#{Rails.root}/db/migrate/brute_force_protection")
  end

  it_behaves_like "rails_3_brute_force_protection_model"
  
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sorcery-0.8.4 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.8.2 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.8.1 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.8.0 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.13 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.12 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.11 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.10 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.9 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.8 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.7 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.6 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.5 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.4 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.3 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.2 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.1 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.7.0 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.6.1 spec/rails3/spec/user_brute_force_protection_spec.rb
sorcery-0.6.0 spec/rails3/spec/user_brute_force_protection_spec.rb