Sha256: bb72a6f2f1d7c9360d5d9a9107c0fd6bdcef7e1bc39e4a8d02ba93ad482a9f1e
Contents?: true
Size: 665 Bytes
Versions: 8
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true 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 # Extend this module in spec/support/features/*.rb include Formulaic::Dsl 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
8 entries across 8 versions & 1 rubygems