Sha256: 12d7784e4c651610c522d2d05da487df576c6602fa2e0e07ee59d46013fe1b03
Contents?: true
Size: 758 Bytes
Versions: 5
Compression:
Stored size: 758 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 "velocity_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
5 entries across 5 versions & 1 rubygems