inspec/test/unit/resources/kernel_parameter_test.rb
Ryan Davis a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00

10 lines
305 B
Ruby

require "helper"
require "inspec/resource"
require "inspec/resources/kernel_parameter"
describe "Inspec::Resources::KernelParameter" do
it "verify kernel_parameter parsing" do
resource = load_resource("kernel_parameter", "net.ipv4.conf.all.forwarding")
_(resource.value).must_equal 1
end
end