rspec-puppet-facts: Require 3.0.0 #289
Annotations
5 errors and 1 warning
Run tests:
spec/facts_spec.rb#L131
add_facts_for_metadata with systemd and stdlib has systemd on Red Hat 7
Failure/Error: case facts[:os]['family'].downcase
NoMethodError:
undefined method `[]' for nil:NilClass
|
Run tests:
spec/facts_spec.rb#L139
add_facts_for_metadata with systemd and stdlib has no systemd on Red Hat 6
Failure/Error: case facts[:os]['family'].downcase
NoMethodError:
undefined method `[]' for nil:NilClass
|
Run tests:
spec/facts_spec.rb#L147
add_facts_for_metadata with systemd and stdlib has no systemd on openbsd
Failure/Error: case facts[:os]['family'].downcase
NoMethodError:
undefined method `[]' for nil:NilClass
|
Run tests:
spec/facts_spec.rb#L164
add_facts_for_metadata with stdlib adds the systemd fact
Failure/Error:
add_custom_fact 'service_provider', ->(_os, facts) do
case facts[:os]['family'].downcase
when 'archlinux'
'systemd'
when 'darwin'
'launchd'
when 'debian'
'systemd'
when 'freebsd'
'freebsd'
RspecPuppetFacts received :register_custom_fact with unexpected arguments
expected: (:service_provider, an_instance_of(Proc), {})
got: ("service_provider", #<Proc:0x00007f05270bedd8 /home/runner/work/voxpupuli-test/voxpupuli-test/lib/voxpupuli/test/facts.rb:75 (lambda)>, {})
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading