Sha256: 6e0e3171860a69119cda9a6341dda7511e40e453cf6d21072cf2f5312c781513
Contents?: true
Size: 604 Bytes
Versions: 12
Compression:
Stored size: 604 Bytes
Contents
ENV['RACK_ENV'] = 'test' require File.expand_path('../../config/environment', __FILE__) abort('DATABASE_URL environment variable is set') if ENV['DATABASE_URL'] require 'rspec/rails' Dir[Rails.root.join('spec/support/**/*.rb')].sort.each { |file| require file } module Features include Formulaic::Dsl if defined? Formulaic end RSpec.configure do |config| config.include Features, type: :feature config.infer_base_class_for_anonymous_controllers = false config.infer_spec_type_from_file_location! config.use_transactional_fixtures = false end ActiveRecord::Migration.maintain_test_schema!
Version data entries
12 entries across 12 versions & 1 rubygems