mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
12 lines
352 B
Ruby
12 lines
352 B
Ruby
# encoding: utf-8
|
|
|
|
if os.linux?
|
|
# instead of `.with` or `.only_with` we recommend to use the `mount` resource
|
|
describe mount '/mnt/iso-disk' do
|
|
it { should be_mounted }
|
|
its('count') { should eq 1 }
|
|
its('device') { should eq '/tmp/empty.iso' }
|
|
its('type') { should eq 'iso9660' }
|
|
its('options') { should eq ['ro'] }
|
|
end
|
|
end
|