Sha256: eb5dd03c9ef7a131dcebba1b793587479153cd5f41c66718028f9f3ea8a1a94b

Contents?: true

Size: 737 Bytes

Versions: 2

Compression:

Stored size: 737 Bytes

Contents

# frozen_string_literal: true

# Coverage
require 'coveralls'
Coveralls.wear! do
  add_filter 'spec'
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__)].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-2.4.0 spec/spec_helper.rb
rails-rfc6570-2.3.0 spec/spec_helper.rb