Sha256: ef91f209b300e8d1954630f5dfad76d4d45f8a91f8fbe1072ebe92af43a79acb
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
ENV["RAILS_ENV"] = "test" require File.expand_path("../../config/environment", __FILE__) require "rspec/rails" require "shoulda/matchers" require "webmock/rspec" 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.expect_with :rspec do |c| c.syntax = :expect end config.include Features, type: :feature config.infer_base_class_for_anonymous_controllers = false config.infer_spec_type_from_file_location! config.order = "random" config.use_transactional_fixtures = false end ActiveRecord::Migration.maintain_test_schema! Capybara.javascript_driver = :webkit WebMock.disable_net_connect!(allow_localhost: true)
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
suspenders-1.16.0 | templates/spec_helper.rb |
shoelaces-0.1.0 | templates/spec_helper.rb |