Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 18, 2021
1 parent 39292f1 commit 630ee61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/security_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def enabled?
it "does not write invalid values" do
Security.Settings["kernel.sysrq"] = "yes"
Security.Settings["net.ipv4.ip_forward"] = ""
expect(sysctl_config).to_not receive(:kernel_sysrq).with("yes")
expect(sysctl_config).to_not receive(:kernel_sysrq)
expect(sysctl_config).to_not receive(:raw_forward_ipv4=).with("")
expect(Security.write_kernel_settings).to eq(false)
end
Expand Down

0 comments on commit 630ee61

Please sign in to comment.