Sha256: 4816012cd7520201e2b0d18c5a8c099ae48c66af38974dde0c28fa3ccc4acbfc

Contents?: true

Size: 588 Bytes

Versions: 27

Compression:

Stored size: 588 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris11

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

27 entries across 27 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/solaris11/zfs_spec.rb
serverspec-0.11.4 spec/solaris11/zfs_spec.rb
serverspec-0.11.3 spec/solaris11/zfs_spec.rb
serverspec-0.11.2 spec/solaris11/zfs_spec.rb
serverspec-0.9.4 spec/solaris11/zfs_spec.rb
serverspec-0.9.3 spec/solaris11/zfs_spec.rb
serverspec-0.9.2 spec/solaris11/zfs_spec.rb
serverspec-0.9.1 spec/solaris11/zfs_spec.rb
serverspec-0.9.0 spec/solaris11/zfs_spec.rb
serverspec-0.8.1 spec/solaris11/zfs_spec.rb
serverspec-0.8.0 spec/solaris11/zfs_spec.rb
serverspec-0.7.13 spec/solaris11/zfs_spec.rb
serverspec-0.7.12 spec/solaris11/zfs_spec.rb
serverspec-0.7.11 spec/solaris11/zfs_spec.rb
serverspec-0.7.10 spec/solaris11/zfs_spec.rb
serverspec-0.7.9 spec/solaris11/zfs_spec.rb
serverspec-0.7.8 spec/solaris11/zfs_spec.rb
serverspec-0.7.7 spec/solaris11/zfs_spec.rb
serverspec-0.7.6 spec/solaris11/zfs_spec.rb
serverspec-0.7.5 spec/solaris11/zfs_spec.rb