Sha256: 0fa21b8f05b54111aa4cfa86b6ad4f322c23adf44b7bb8b82fe5c4ea69a9b8d5

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

require 'spec_helper'
require 'shared_examples/user_oauth_shared_examples'

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

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

  it_behaves_like 'rails_3_oauth_model'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sorcery-0.12.0 spec/active_record/user_oauth_spec.rb
sorcery-0.11.0 spec/active_record/user_oauth_spec.rb
sorcery-0.10.3 spec/active_record/user_oauth_spec.rb
sorcery-0.10.2 spec/active_record/user_oauth_spec.rb
sorcery-0.10.1 spec/active_record/user_oauth_spec.rb
sorcery-0.10.0 spec/active_record/user_oauth_spec.rb