Sha256: 51892c99c07b9f6756168e0c4479f1ba614a38a8f03dbf7e4dae111ed5cb1d77

Contents?: true

Size: 590 Bytes

Versions: 3

Compression:

Stored size: 590 Bytes

Contents

ENV["RAILS_ENV"] = "test"

require File.expand_path("../../config/environment", __FILE__)

require "rspec/rails"
require "shoulda/matchers"

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

3 entries across 3 versions & 1 rubygems

Version Path
welaika-suspenders-2.15.0 templates/rails_helper.rb
welaika-suspenders-2.13.0 templates/rails_helper.rb
welaika-suspenders-2.12.0 templates/rails_helper.rb