Sha256: ce5ccdd028a6c2f32900430d02357f3b0d8910becc66fad84d1dc522f375f242

Contents?: true

Size: 749 Bytes

Versions: 16

Compression:

Stored size: 749 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require "bundler/setup"
require "single_cov"
SingleCov.setup :rspec

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")].sort.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

16 entries across 16 versions & 2 rubygems

Version Path
audited-5.5.0 spec/spec_helper.rb
audited-5.4.3 spec/spec_helper.rb
audited-5.4.2 spec/spec_helper.rb
audited-5.4.1 spec/spec_helper.rb
audited-5.4.0 spec/spec_helper.rb
audited-5.3.3 spec/spec_helper.rb
audited-5.3.2 spec/spec_helper.rb
audited-5.3.1 spec/spec_helper.rb
audited-5.3.0 spec/spec_helper.rb
audited-5.2.0 spec/spec_helper.rb
audited-5.1.0 spec/spec_helper.rb
velocity_audited-5.1.4 spec/spec_helper.rb
velocity_audited-5.1.3 spec/spec_helper.rb
audited-5.0.2 spec/spec_helper.rb
audited-5.0.1 spec/spec_helper.rb
audited-5.0.0 spec/spec_helper.rb