Sha256: 3ad6ecc954696289496d7670eed599aa58c86578eedfd36cf6819ac0ef0e7e7c

Contents?: true

Size: 691 Bytes

Versions: 7

Compression:

Stored size: 691 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

7 entries across 7 versions & 2 rubygems

Version Path
suspenders-1.9.1 templates/spec_helper.rb
suspenders-1.9.0 templates/spec_helper.rb
os_suspenders-1.8.5 templates/spec_helper.rb
os_suspenders-1.8.4 templates/spec_helper.rb
os_suspenders-1.8.3 templates/spec_helper.rb
os_suspenders-1.8.2 templates/spec_helper.rb
os_suspenders-0.0.1 templates/spec_helper.rb