Sha256: 0c4035cfe7f543d7bf4a607adc9bbdab7da889aa7b0fece54f66451d9e45530d
Contents?: true
Size: 873 Bytes
Versions: 2
Compression:
Stored size: 873 Bytes
Contents
# frozen_string_literal: true require 'simplecov' require 'simplecov-cobertura' SimpleCov.start do add_filter 'spec' end SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::CoberturaFormatter, ] ENV['RAILS_ENV'] ||= 'test' require File.expand_path('dummy/config/environment', __dir__) require 'rspec/rails' Rails.backtrace_cleaner.remove_silencers! # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each {|f| require f } # Checks for pending migrations before tests are run. # If you are not using ActiveRecord, you can remove this line. if defined?(ActiveRecord::Migration) && Rails::VERSION::MAJOR >= 4 ActiveRecord::Migration.check_pending! end RSpec.configure do |config| config.order = 'random' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-rfc6570-3.3.0 | spec/spec_helper.rb |
rails-rfc6570-3.2.0 | spec/spec_helper.rb |