Sha256: b18f58afd3cf29617aacad48bb6879c16f7a8048ecd70d4286ad8847960b6dc6
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 Bytes
Contents
require 'simplecov' SimpleCov.start 'rails' ENV['RAILS_ENV'] = 'test' # TODO remvoe when warning is fixed require 'minitest/autorun' require File.expand_path('../../config/environment', __FILE__) require 'rspec/rails' require 'webmock/rspec' Dir[Rails.root.join('spec/support/**/*.rb')].each { |file| require file } module Features # Extend this module in spec/support/features/*.rb 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.order = 'random' config.use_transactional_fixtures = false end # Capybara.javascript_driver = :webkit WebMock.disable_net_connect!(allow_localhost: true)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mj-suspenders-0.0.7 | templates/spec_helper.rb |
mj-suspenders-0.0.6 | templates/spec_helper.rb |
mj-suspenders-0.0.5 | templates/spec_helper.rb |