Skip to content

Commit

Permalink
[issue-680] rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chadh committed May 21, 2024
1 parent ee40463 commit 6dedef2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/classes/statsd_exporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@
end

describe 'not install config' do
it { should_not contain_file('/etc/statsd-exporter-mapping.yaml') }
it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') }

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on virtuozzolinux-7-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on almalinux-8-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on almalinux-9-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on archlinux-rolling-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on centos-7-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on centos-8-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on centos-9-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on debian-10-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on debian-11-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 8 (Ruby 3.2)

prometheus::statsd_exporter on debian-12-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on virtuozzolinux-7-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on almalinux-8-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on ubuntu-22.04-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on debian-11-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on redhat-9-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on archlinux-rolling-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on redhat-7-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on oraclelinux-9-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on centos-7-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]

Check failure on line 107 in spec/classes/statsd_exporter_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet 7 (Ruby 2.7)

prometheus::statsd_exporter on oraclelinux-8-x86_64 with no mappings not install config is expected not to contain File[/etc/statsd-exporter-mapping.yaml] Failure/Error: it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } expected that the catalogue would not contain File[/etc/statsd-exporter-mapping.yaml]
end

end

context 'with older version that does not support posix like option flags specified' do
Expand Down

0 comments on commit 6dedef2

Please sign in to comment.