Sha256: d4afde463e6d674443cc31bbf0cdbe5082a4bcbdc89e9a878e12309c00b27ed2

Contents?: true

Size: 585 Bytes

Versions: 17

Compression:

Stored size: 585 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::RedHat

describe zfs('rpool') do
  it { should exist }
  its(:command) { should eq "zfs list -H rpool" }
end

describe zfs('rpool') do
  it { should have_property 'mountpoint' => '/rpool'  }
  its(:command) { should eq "zfs list -H -o mountpoint rpool | grep -- \\^/rpool\\$" }
end

describe zfs('rpool') do
  it { should have_property 'mountpoint' => '/rpool', 'compression' => 'off' }
  its(:command) { should eq "zfs list -H -o compression rpool | grep -- \\^off\\$ && zfs list -H -o mountpoint rpool | grep -- \\^/rpool\\$" }
end

Version data entries

17 entries across 15 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/redhat/zfs_spec.rb
serverspec-0.11.4 spec/redhat/zfs_spec.rb
serverspec-0.11.3 spec/redhat/zfs_spec.rb
serverspec-0.11.2 spec/redhat/zfs_spec.rb
serverspec-0.9.4 spec/redhat/zfs_spec.rb
serverspec-0.9.3 spec/redhat/zfs_spec.rb
serverspec-0.9.3 spec/aix/zfs_spec.rb
serverspec-0.9.2 spec/redhat/zfs_spec.rb
serverspec-0.9.2 spec/aix/zfs_spec.rb
serverspec-0.9.1 spec/redhat/zfs_spec.rb
serverspec-0.9.0 spec/redhat/zfs_spec.rb
serverspec-0.8.1 spec/redhat/zfs_spec.rb
serverspec-0.8.0 spec/redhat/zfs_spec.rb
serverspec-0.7.13 spec/redhat/zfs_spec.rb
serverspec-0.7.12 spec/redhat/zfs_spec.rb
serverspec-0.7.11 spec/redhat/zfs_spec.rb
serverspec-0.7.10 spec/redhat/zfs_spec.rb