Sha256: b054efef07b12fb3daaf1da48cf4fe022e1a17cc903766bdafc86ba6220078c7

Contents?: true

Size: 475 Bytes

Versions: 11

Compression:

Stored size: 475 Bytes

Contents

require 'spec_helper'
require 'shared_examples/user_brute_force_protection_shared_examples'

describe User, 'with brute_force_protection submodule', active_record: true do
  before(:all) do
    MigrationHelper.migrate("#{Rails.root}/db/migrate/brute_force_protection")
    User.reset_column_information
  end

  after(:all) do
    MigrationHelper.rollback("#{Rails.root}/db/migrate/brute_force_protection")
  end

  it_behaves_like 'rails_3_brute_force_protection_model'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sorcery-0.17.0 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.5 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.4 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.3 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.2 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.1 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.15.1 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.16.0 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.15.0 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.14.0 spec/active_record/user_brute_force_protection_spec.rb
sorcery-0.13.0 spec/active_record/user_brute_force_protection_spec.rb