mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +00:00
e8ae9012ea
Signed-off-by: Miah Johnson <miah@chia-pet.org>
11 lines
158 B
Ruby
11 lines
158 B
Ruby
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
|