Sha256: fdd2cf5adcfde8316d9a72ddc4407e577ce4a1aca0ea5bdd9b66314b7e5b02f1
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
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 if SimpleCov.profiles[:gem].nil? SimpleCov.profiles.define 'gem' do add_filter '/spec/' add_filter '/vendor/' add_group 'Libraries', '/lib/' end end SimpleCov.minimum_coverage(84) SimpleCov.start 'gem' end require 'bundler/setup' require 'vcloud/core' require 'vcloud/tools/tester' require 'support/stub_fog_interface.rb' require 'support/integration_helper' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vcloud-core-2.2.0 | spec/spec_helper.rb |
vcloud-core-2.1.1 | spec/spec_helper.rb |
vcloud-core-2.1.0 | spec/spec_helper.rb |
vcloud-core-2.0.1 | spec/spec_helper.rb |