mirror of
https://github.com/inspec/inspec
synced 2024-12-30 15:03:29 +00:00
659b4b373a
Signed-off-by: Miah Johnson <miah@chia-pet.org>
12 lines
159 B
Ruby
12 lines
159 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
|