Sha256: 4aa1239b1db00c598b3caec10cf98a08bc861c8a9c37279da8d576ed68b1d302

Contents?: true

Size: 471 Bytes

Versions: 6

Compression:

Stored size: 471 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

6 entries across 6 versions & 2 rubygems

Version Path
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/spec/spec_helper.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/spec/spec_helper.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/spec/spec_helper.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/spec/spec_helper.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/spec/spec_helper.rb
acts_as_audited-2.1.0 spec/spec_helper.rb