Sha256: 37d3d85e7e32bb5ed47fc8c2d4cba489a715d0cb5ba6d119016551f704c9d17f

Contents?: true

Size: 807 Bytes

Versions: 4

Compression:

Stored size: 807 Bytes

Contents

# frozen_string_literal: true

# Coverage
require 'simplecov'
SimpleCov.start

if ENV['CI']
  require 'codecov'
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

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

4 entries across 4 versions & 1 rubygems

Version Path
rails-rfc6570-3.1.0 spec/spec_helper.rb
rails-rfc6570-3.0.0 spec/spec_helper.rb
rails-rfc6570-2.6.0 spec/spec_helper.rb
rails-rfc6570-2.5.0 spec/spec_helper.rb