Sha256: 1e69bb7b15d1ef5cd608d20352e521f5f3c607ec4d11c79f793382b3516ddfcc

Contents?: true

Size: 733 Bytes

Versions: 8

Compression:

Stored size: 733 Bytes

Contents

# frozen_string_literal: true
if ENV.fetch("#{app_name.upcase}_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
onotole-1.1.12 templates/spec_helper.rb.erb
onotole-1.1.10 templates/spec_helper.rb.erb
onotole-1.1.9 templates/spec_helper.rb.erb
onotole-1.1.8 templates/spec_helper.rb.erb
onotole-1.1.7 templates/spec_helper.rb.erb
onotole-1.1.6 templates/spec_helper.rb.erb
onotole-1.1.5 templates/spec_helper.rb.erb
onotole-1.1.4 templates/spec_helper.rb.erb