mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
14 lines
413 B
Ruby
14 lines
413 B
Ruby
# encoding: utf-8
|
|
|
|
# TODO: do not run those tests on docker yet
|
|
return if ENV['DOCKER']
|
|
return unless 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
|