inspec/test/integration/default/controls/os_spec.rb

14 lines
177 B
Ruby
Raw Normal View History

# encoding: utf-8
family = os[:family]
# use symbol
describe os[:family] do
it { should eq family }
end
# use string
describe os['family'] do
it { should eq family }
end