mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
Fix RuboCop issues
Signed-off-by: David Gasper <dmgasper@osuosl.org>
This commit is contained in:
parent
3912fef458
commit
ee2806a342
1 changed files with 3 additions and 4 deletions
|
@ -4,10 +4,9 @@ require "inspec/resources/postfix_conf"
|
|||
|
||||
describe "Inspec::Resources::Postfix_Conf" do
|
||||
|
||||
|
||||
it 'test default parsing of main.cf on centos 7' do
|
||||
resource = MockLoader.new(:centos7).load_resource("postfix_conf")
|
||||
result = { "test_parameter" => "value", "other_test_param" => "$value" }
|
||||
it "Test default parsing of main.cf on Centos 7" do
|
||||
resource = MockLoader.new(:centos7).load_resource("postfix_conf")
|
||||
result = { "test_parameter" => "value", "other_test_param" => "$value" }
|
||||
_(resource.params).must_equal result
|
||||
_(resource.value(%w{test_parameter})).must_equal "value"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue