Remove unnecessary rspec ignore rules 82/61882/1
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 16 Aug 2017 20:40:08 +0000 (16:40 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 16 Aug 2017 20:40:08 +0000 (16:40 -0400)
The code ignored by these rules now isn't picked up by rspec tests as
untouched in coverage reports, either because of enhancements to the
tooling or because we no longer import the code.

Change-Id: I411524ec898c9687631d318dd807226ebdbdf205
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
spec/spec_helper.rb

index 51f7c7a14239a7811ffa5e32be7d2e40af0cb27d..12eb8e4e7ed971f1874313bf3cdf3d51658e6438 100644 (file)
@@ -3,28 +3,8 @@ require 'rspec-puppet-facts'
 include RspecPuppetFacts
 
 # Customize filters to ignore 3rd-party code
-# If the coverage report shows not-our-code results, add it here
+# If the rspec coverage report shows not-our-code results, add it here
 custom_filters = [
-  'Anchor[java::end]',
-  'Stage[setup]',
-  'Anchor[java::begin:]',
-  'Class[Java::Config]',
-  'Class[Java::Params]',
-  'Class[Stdlib::Stages]',
-  'Class[Stdlib]',
-  'Exec[opendaylight unpack]',
-  'Exec[opendaylight-systemd unpack]',
-  'Exec[rm-on-error-opendaylight.tar.gz]',
-  'Exec[rm-on-error-opendaylight-systemd.tar.gz]',
-  'Exec[reload_systemd_units]',
-  'Exec[update-java-alternatives]',
-  'Package[curl]',
-  'Stage[deploy]',
-  'Stage[deploy_app]',
-  'Stage[deploy_infra]',
-  'Stage[runtime]',
-  'Stage[setup_app]',
-  'Stage[setup_infra]',
 ]
 RSpec::Puppet::Coverage.filters.push(*custom_filters)