Sha256: f190fb497cc4dcc560cd189b544f229b778f0200cf9b8da3c8828166fb1635f4

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

require 'spec_helper'
require 'shared_examples/user_reset_password_shared_examples'

describe User, "with reset_password submodule", :active_record => true do
  before(:all) do
    ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate/reset_password")
    User.reset_column_information
  end

  after(:all) do
    ActiveRecord::Migrator.rollback("#{Rails.root}/db/migrate/reset_password")
  end

  it_behaves_like "rails_3_reset_password_model"

end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
sorcery-0.9.1 spec/active_record/user_reset_password_spec.rb
sorcery-0.9.0 spec/active_record/user_reset_password_spec.rb
cbsorcery-0.8.6 spec/active_record/user_reset_password_spec.rb
cb-sorcery-0.8.6 spec/active_record/user_reset_password_spec.rb
sorcery-0.8.6 spec/active_record/user_reset_password_spec.rb