mirror of
https://github.com/inspec/inspec
synced 2024-12-21 02:23:13 +00:00
094293b01d
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
13 lines
437 B
Ruby
13 lines
437 B
Ruby
control "test_control_01" do
|
|
describe input("test_input_01", value: "value_from_dsl") do
|
|
it { should cmp "value_from_api" }
|
|
end
|
|
|
|
describe input("test_input_hash_string", value: { "string_key": "string_value_dsl" }) do
|
|
its(["string_key"]) { should eq "string_value" }
|
|
end
|
|
|
|
describe input("test_input_hash_symbol", value: { symbol_key: :symbol_value_dsl }) do
|
|
its([:symbol_key]) { should eq :symbol_value }
|
|
end
|
|
end
|