Sha256: 522f232ded3251dbbbf2d1ff8eb5f980d6f25eb0416854f786482bd9a3fe3d64

Contents?: true

Size: 352 Bytes

Versions: 20

Compression:

Stored size: 352 Bytes

Contents

# 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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
inspec-0.21.6 test/integration/default/mount_spec.rb
inspec-0.21.5 test/integration/default/mount_spec.rb
inspec-0.21.4 test/integration/default/mount_spec.rb
inspec-0.21.3 test/integration/default/mount_spec.rb
inspec-0.21.2 test/integration/default/mount_spec.rb
inspec-0.21.1 test/integration/default/mount_spec.rb
inspec-0.21.0 test/integration/default/mount_spec.rb
inspec-0.20.1 test/integration/default/mount_spec.rb
inspec-0.20.0 test/integration/default/mount_spec.rb
inspec-0.19.2 test/integration/default/mount_spec.rb
inspec-0.19.1 test/integration/default/mount_spec.rb
inspec-0.19.0 test/integration/default/mount_spec.rb
inspec-0.18.0 test/integration/default/mount_spec.rb
inspec-0.17.1 test/integration/default/mount_spec.rb
inspec-0.17.0 test/integration/default/mount_spec.rb
inspec-0.16.4 test/integration/default/mount_spec.rb
inspec-0.16.3 test/integration/default/mount_spec.rb
inspec-0.16.2 test/integration/default/mount_spec.rb
inspec-0.16.1 test/integration/default/mount_spec.rb
inspec-0.16.0 test/integration/default/mount_spec.rb