Sha256: 09eae8c3bf147b52a01410e60d74ed415b517db35f459add69abb720d89ff2c8

Contents?: true

Size: 445 Bytes

Versions: 11

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'
require 'shared_examples/user_activity_logging_shared_examples'

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

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

  it_behaves_like 'rails_3_activity_logging_model'
end

Version data entries

11 entries across 11 versions & 1 rubygems

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