Sha256: 8e4afc896594939c8e3e8f60627e31570fa3f5ae5db5443f7df74c5fc1cc2713
Contents?: true
Size: 1010 Bytes
Versions: 11
Compression:
Stored size: 1010 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(100) SimpleCov.start 'gem' end require 'erb_helper' require 'bundler/setup' require 'vcloud/net_launcher' require 'vcloud/tools/tester' RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end # To enable Fog Mock mode use FOG_CREDENTIAL=fog_mock and FOG_MOCK=true # If you do not have configuration for fog_mock in your vcloud_tools_testing_config.yaml, # the test data is defined here: https://github.com/fog/fog/blob/master/lib/fog/vcloud_director/compute.rb#L483-L733 # if ENV['FOG_MOCK'] Fog.mock! end
Version data entries
11 entries across 11 versions & 1 rubygems