mirror of
https://github.com/inspec/inspec
synced 2024-12-17 00:23:15 +00:00
47eabbb221
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
13 lines
177 B
Ruby
13 lines
177 B
Ruby
# 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
|