Sha256: 8ecaaf1f13090614ae63260adecf79dbf7930f4f52695e388bbec0aa9451dc07

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

$LOAD_PATH.unshift File.dirname(__FILE__)

require File.expand_path('../../spec/rails_app/config/environment', __FILE__)
require 'rails/test_help'

require 'audited'

class ActiveSupport::TestCase
  setup do
    ActiveRecord::Migration.verbose = false
  end

  def load_schema( version )
    load File.dirname(__FILE__) + "/db/version_#{version}.rb"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
audited-4.10.0 test/test_helper.rb
audited-4.9.0 test/test_helper.rb
audited-4.8.0 test/test_helper.rb