Sha256: c4a6ab30062a904f4a06726b0b03b45a3a54ebf00f6db0b9c713d068c84d8be0

Contents?: true

Size: 708 Bytes

Versions: 8

Compression:

Stored size: 708 Bytes

Contents

# SimpleCov must run _first_ according to its README
if ENV['COVERAGE']
  require 'simplecov'

  # monkey-patch to prevent SimpleCov from reporting coverage percentage
  class SimpleCov::Formatter::HTMLFormatter
    def output_message(_message)
      nil
    end
  end

  SimpleCov.adapters.define 'gem' do
    add_filter '/spec/'
    add_filter '/features/'
    add_filter '/vendor/'

    add_group 'Libraries', '/lib/'
  end

  SimpleCov.minimum_coverage(99)
  SimpleCov.start 'gem'
end

require 'support/integration_helper'
require 'bundler/setup'
require 'vcloud/edge_gateway'
require 'vcloud/tools/tester'

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vcloud-edge_gateway-1.5.0 spec/spec_helper.rb
vcloud-edge_gateway-1.4.1 spec/spec_helper.rb
vcloud-edge_gateway-1.4.0 spec/spec_helper.rb
vcloud-edge_gateway-1.3.0 spec/spec_helper.rb
vcloud-edge_gateway-1.2.0 spec/spec_helper.rb
vcloud-edge_gateway-1.1.0 spec/spec_helper.rb
vcloud-edge_gateway-1.0.2 spec/spec_helper.rb
vcloud-edge_gateway-1.0.1 spec/spec_helper.rb