Sha256: 4af682b5493ce832b26c5002843bcc3878f30ac71b58eca2ea2082e6b3a68095

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 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
    ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate/activity_logging")
    User.reset_column_information
  end

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

  it_behaves_like "rails_3_activity_logging_model"

end

Version data entries

4 entries across 4 versions & 3 rubygems

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