Sha256: 7414d5a18a778d20705bbc327723fccbdc3f279d6875ab7ac85620f396f0d1e9

Contents?: true

Size: 636 Bytes

Versions: 10

Compression:

Stored size: 636 Bytes

Contents

ENV["RAILS_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

10 entries across 10 versions & 4 rubygems

Version Path
suspenders-1.36.0 templates/rails_helper.rb
slining-1.4.0 templates/rails_helper.rb
suspenders-1.35.0 templates/rails_helper.rb
slining-1.3.0 templates/rails_helper.rb
welaika-suspenders-2.21.0 templates/rails_helper.rb
slining-1.2.0 templates/rails_helper.rb
initiate-0.1.0 templates/rails_helper.rb
suspenders-1.34.0 templates/rails_helper.rb
welaika-suspenders-2.20.0 templates/rails_helper.rb
welaika-suspenders-2.19.0 templates/rails_helper.rb