mirror of
https://github.com/inspec/inspec
synced 2024-12-29 22:43:25 +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
|