Skip to content

Commit

Permalink
Try to fixup firewalld fact test
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Riehecky committed Aug 28, 2023
1 parent 27a89fb commit a675fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/facter/firewalld_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Process.stubs(:uid).returns(0)
Facter::Core::Execution.stubs(:exec).with('uname -s').returns('Linux')
Facter::Util::Resolution.stubs(:which).with('firewall-offline-cmd').returns('/usr/bin/firewall-offline-cmd')
Facter::Core::Execution.stubs(:execute).with('/usr/bin/firewall-offline-cmd --version', on_fail: :failed).returns(firewalld_version)
Facter::Core::Execution.stubs(:execute).with('/usr/bin/firewall-offline-cmd --version', on_fail: :failed).returns(firewalld_version.dup)
end

let(:python_args) do
Expand Down

0 comments on commit a675fc7

Please sign in to comment.