Sha256: 2ac8e935cc58ee6ed6b09e0102e1eb9fdd22a31ed0c2003cb9202b281e6508f1

Contents?: true

Size: 708 Bytes

Versions: 3

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(98)
  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

3 entries across 3 versions & 1 rubygems

Version Path
vcloud-edge_gateway-2.1.1 spec/spec_helper.rb
vcloud-edge_gateway-2.1.0 spec/spec_helper.rb
vcloud-edge_gateway-1.5.2 spec/spec_helper.rb