Sha256: 9b2c858bd70507aa9a247cb6fe4f580736c92968f4f9bca9d0d7dc5c84c23c66

Contents?: true

Size: 634 Bytes

Versions: 10

Compression:

Stored size: 634 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
  # 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 = true
end

ActiveRecord::Migration.maintain_test_schema!

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
suspenders-1.51.0 templates/rails_helper.rb
bulldozer-1.6.3 templates/rails_helper.rb
bulldozer-1.6.2 templates/rails_helper.rb
bulldozer-1.6.1 templates/rails_helper.rb
bulldozer-1.6.0 templates/rails_helper.rb
suspenders-1.50.0 templates/rails_helper.rb
suspenders-1.49.0 templates/rails_helper.rb
suspenders-1.48.0 templates/rails_helper.rb
suspenders-1.47.0 templates/rails_helper.rb
suspenders-1.46.0 templates/rails_helper.rb