Sha256: 33c092c99fe7d9b88a52d80da5a769a2e7604e3fbefa699de8547588801ba047
Contents?: true
Size: 692 Bytes
Versions: 3
Compression:
Stored size: 692 Bytes
Contents
ENV['RAILS_ENV'] = 'test' require 'bundler' if Bundler.definition.dependencies.map(&:name).include?('protected_attributes') require 'protected_attributes' end require 'rails_app/config/environment' require 'rspec/rails' require 'audited' require 'audited-rspec' require 'audited_spec_helpers' require 'support/active_record/models' SPEC_ROOT = Pathname.new(File.expand_path('../', __FILE__)) Dir[SPEC_ROOT.join('support/*.rb')].each{|f| require f } RSpec.configure do |config| config.include AuditedSpecHelpers config.use_transactional_fixtures = false if Rails.version.start_with?('4.') config.use_transactional_tests = false if config.respond_to?(:use_transactional_tests=) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
audited-4.8.0 | spec/spec_helper.rb |
audited-4.7.1 | spec/spec_helper.rb |
audited-4.7.0 | spec/spec_helper.rb |