Sha256: e4980df4cfe7fb2958e7ef02db1ac6e73e3e6d8804583c1eea2a60984c0df7d2

Contents?: true

Size: 473 Bytes

Versions: 5

Compression:

Stored size: 473 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

$:.unshift File.dirname(__FILE__)

require 'rails_app/config/environment'
require 'rspec/rails'

require 'acts_as_audited'

require 'audited_spec_helpers'

RSpec.configure do |c|
  c.include AuditedSpecHelpers

  c.before(:suite) do
    ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
    ActiveRecord::Migration.verbose = false
    load(File.dirname(__FILE__) + "/db/schema.rb")
    require 'spec_models'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_audited-2.0.0 spec/spec_helper.rb
acts_as_audited-2.0.0.rc7 spec/spec_helper.rb
acts_as_audited-2.0.0.rc6 spec/spec_helper.rb
acts_as_audited-2.0.0.rc5 spec/spec_helper.rb
acts_as_audited-2.0.0.rc4 spec/spec_helper.rb