mirror of
https://github.com/inspec/inspec
synced 2024-12-17 00:23:15 +00:00
2a1b1d8e88
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
|