Sha256: 1f0c24d47436e5c6cfc0468bf0e2127a2e6ccab330c390dac4c89d5aef3dc2eb

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

require 'simplecov'
SimpleCov.start 'rails'

ENV['RAILS_ENV'] = 'test'

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

4 entries across 4 versions & 1 rubygems

Version Path
mj-suspenders-0.0.4 templates/spec_helper.rb
mj-suspenders-0.0.3 templates/spec_helper.rb
mj-suspenders-0.0.2 templates/spec_helper.rb
mj-suspenders-0.0.1 templates/spec_helper.rb