Sha256: dc72fba0520661d1d8f17362e06f628f7615b99aced95a86f13c3c119952c0e3

Contents?: true

Size: 481 Bytes

Versions: 15

Compression:

Stored size: 481 Bytes

Contents

if ENV.fetch("COVERAGE", false)
  require "simplecov"
  SimpleCov.start "rails"
end

require "webmock/rspec"

# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end

  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
    mocks.verify_partial_doubles = true
  end

  config.order = :random
end

WebMock.disable_net_connect!(allow_localhost: true)

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
slining-1.1.0 templates/spec_helper.rb
suspenders-1.29.0 templates/spec_helper.rb
slining-1.0.1 templates/spec_helper.rb
slining-1.0.0 templates/spec_helper.rb
stoker-1.0.0.pre6 templates/spec_helper.rb
stoker-1.0.0.pre5 templates/spec_helper.rb
stoker-1.0.0.pre4 templates/spec_helper.rb
stoker-1.0.0.pre3 templates/spec_helper.rb
stoker-1.0.0.pre2 templates/spec_helper.rb
suspenders-1.28.0 templates/spec_helper.rb
hitfox-suspenders-1.1.0 templates/spec_helper.rb
hitfox-suspenders-1.0.2 templates/spec_helper.rb
hitfox-suspenders-1.0.1 templates/spec_helper.rb
suspenders-1.27.0 templates/spec_helper.rb
hitfox-suspenders-1.0.0 templates/spec_helper.rb