Sha256: c2fab989b7650116e8d8514fd9f121cafee7680b9d43a101147b82d9dc3ebd1f

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

# encoding: utf-8

# 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 '/root/alpine-3.3.0-x86_64.iso' }
  its('type') { should eq  'iso9660' }
  its('options') { should eq  ['ro'] }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inspec-0.9.9 test/integration/test/integration/default/mount_spec.rb
inspec-0.9.8 test/integration/test/integration/default/mount_spec.rb