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