Sha256: 4f6f17bc95336cd348cc579d06adc93c58ca1866fc52083d935f3a1352f4b5e8

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 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")].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 = falsed
end

ActiveRecord::Migration.maintain_test_schema!
Capybara.javascript_driver = :webkit

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roboparts-0.5.4 templates/rails_helper.rb
roboparts-0.5.3 templates/rails_helper.rb
roboparts-0.5.2 templates/rails_helper.rb