Sha256: 233e56fe8080e6bb8101c1af86295a4e9b90540541bde30481111c5a71753f9c

Contents?: true

Size: 413 Bytes

Versions: 10

Compression:

Stored size: 413 Bytes

Contents

# 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inspec-0.28.1 test/integration/default/mount_spec.rb
inspec-0.28.0 test/integration/default/mount_spec.rb
inspec-0.27.1 test/integration/default/mount_spec.rb
inspec-0.27.0 test/integration/default/mount_spec.rb
inspec-0.26.0 test/integration/default/mount_spec.rb
inspec-0.25.0 test/integration/default/mount_spec.rb
inspec-0.24.0 test/integration/default/mount_spec.rb
inspec-0.23 test/integration/default/mount_spec.rb
inspec-0.22.1 test/integration/default/mount_spec.rb
inspec-0.22.0 test/integration/default/mount_spec.rb