Sha256: 3266fd01462acb344d63aef99735d86eb2b3b722cd4613ef282716a2b182914f

Contents?: true

Size: 463 Bytes

Versions: 11

Compression:

Stored size: 463 Bytes

Contents

require 'spec_helper'

require 'rails_app/app/mailers/sorcery_mailer'
require 'shared_examples/user_activation_shared_examples'

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

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

  it_behaves_like 'rails_3_activation_model'
end

Version data entries

11 entries across 11 versions & 1 rubygems

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