Sha256: f69e6df7d881914cd266fd5dfa89ac0b1655174e0bb1613d811aa63128cf58e6

Contents?: true

Size: 688 Bytes

Versions: 8

Compression:

Stored size: 688 Bytes

Contents

if ENV.fetch("COVERAGE", false)
  require "simplecov"

  # if ENV["CIRCLE_ARTIFACTS"]
  #   dir = File.join(ENV["CIRCLE_ARTIFACTS"], "coverage")
  #   SimpleCov.coverage_dir(dir)
  # end

  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.example_status_persistence_file_path = "tmp/rspec_examples.txt"
  config.order = :random
end

WebMock.disable_net_connect!(allow_localhost: true)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
suspenders-ocs-0.0.10 templates/spec_helper.rb
suspenders-ocs-0.0.8 templates/spec_helper.rb
suspenders-ocs-0.0.7 templates/spec_helper.rb
suspenders-ocs-0.0.6 templates/spec_helper.rb
suspenders-ocs-0.0.5 templates/spec_helper.rb
suspenders-ocs-0.0.4 templates/spec_helper.rb
suspenders-ocs-0.0.3 templates/spec_helper.rb
suspenders-ocs-0.0.2 templates/spec_helper.rb