Sha256: 8b30020872978fd5b0192207d4fb9bf96909e5e77bd1c77cef9f0c0b4c8dee99

Contents?: true

Size: 753 Bytes

Versions: 23

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true
if ENV.fetch("#{Rails.application.class.parent_name}_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

23 entries across 23 versions & 1 rubygems

Version Path
onotole-2.0.2 templates/spec_helper.rb.erb
onotole-2.0.1 templates/spec_helper.rb.erb
onotole-2.0.0 templates/spec_helper.rb.erb
onotole-1.2.11 templates/spec_helper.rb.erb
onotole-1.2.10 templates/spec_helper.rb.erb
onotole-1.2.9 templates/spec_helper.rb.erb
onotole-1.2.8 templates/spec_helper.rb.erb
onotole-1.2.7 templates/spec_helper.rb.erb
onotole-1.2.6 templates/spec_helper.rb.erb
onotole-1.2.5 templates/spec_helper.rb.erb
onotole-1.2.4 templates/spec_helper.rb.erb
onotole-1.2.3 templates/spec_helper.rb.erb
onotole-1.2.2 templates/spec_helper.rb.erb
onotole-1.2.1 templates/spec_helper.rb.erb
onotole-1.1.21 templates/spec_helper.rb.erb
onotole-1.1.20 templates/spec_helper.rb.erb
onotole-1.1.19 templates/spec_helper.rb.erb
onotole-1.1.18 templates/spec_helper.rb.erb
onotole-1.1.17 templates/spec_helper.rb.erb
onotole-1.1.16 templates/spec_helper.rb.erb