Sha256: 8b8a521be8cdcb69f85057c705b1e96b3b45a78fd09462e53fe24b82bfb4b7ff

Contents?: true

Size: 635 Bytes

Versions: 49

Compression:

Stored size: 635 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 = false
end

ActiveRecord::Migration.maintain_test_schema!

Version data entries

49 entries across 49 versions & 8 rubygems

Version Path
slining-1.7.0 templates/rails_helper.rb
suspenders-1.45.0 templates/rails_helper.rb
voyage-1.44.0.14 templates/rails_helper.rb
voyage-1.44.0.13 templates/rails_helper.rb
voyage-1.44.0.11 templates/rails_helper.rb
voyage-1.44.0.12 templates/rails_helper.rb
voyage-1.44.0.10 templates/rails_helper.rb
voyage-1.44.0.9 templates/rails_helper.rb
voyage-1.44.0.8 templates/rails_helper.rb
voyage-1.44.0.7 templates/rails_helper.rb
voyage-1.44.0.6 templates/rails_helper.rb
voyage-1.44.0.5 templates/rails_helper.rb
voyage-1.44.0.4 templates/rails_helper.rb
voyage-1.44.0.3 templates/rails_helper.rb
voyage-1.44.0.2 templates/rails_helper.rb
voyage-1.44.0.1 templates/rails_helper.rb
suspenders-1.44.0 templates/rails_helper.rb
armadura-0.1.2 templates/rails_helper.rb
suspenders-1.43.0 templates/rails_helper.rb
slining-1.6.0 templates/rails_helper.rb