Sha256: 041450c177091fb29ca6791428f96b3cd85a9d980fcfa8acba7796ee36e72749
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 Bytes
Contents
require 'spec_helper' require 'shared/configured' describe MetricFu::Configuration, 'for rcov' do it_behaves_like 'configured' do it 'should set rcov run_options' do load_metric 'rcov' expect( MetricFu::Metric.get_metric(:rcov).run_options ).to eq( { :environment => 'test', :external => nil, :test_files => Dir['{spec,test}/**/*_{spec,test}.rb'], :rcov_opts => [ "--sort coverage", "--no-html", "--text-coverage", "--no-color", "--profile", "--exclude-only '.*'", '--include-file "\Aapp,\Alib"', "-Ispec" ], }) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metric_fu-4.11.1 | spec/metric_fu/metrics/rcov/configuration_spec.rb |
metric_fu-4.11.0 | spec/metric_fu/metrics/rcov/configuration_spec.rb |