Sha256: 1e8d6cf74fea257c678b29dde106962ff78a20e0afe15f9ce8daba26debc1c6c

Contents?: true

Size: 671 Bytes

Versions: 6

Compression:

Stored size: 671 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 'erb_helper'
require 'support/integration_helper'
require 'vcloud/launcher'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vcloud-launcher-2.1.1 spec/spec_helper.rb
vcloud-launcher-2.1.0 spec/spec_helper.rb
vcloud-launcher-2.0.0 spec/spec_helper.rb
vcloud-launcher-1.1.0 spec/spec_helper.rb
vcloud-launcher-1.0.0 spec/spec_helper.rb
vcloud-launcher-0.7.0 spec/spec_helper.rb