Sha256: 00a616a3833b09a061546bdc7e7f8773c7b276c9dd75f9a848d10c52abd6a2a5

Contents?: true

Size: 586 Bytes

Versions: 47

Compression:

Stored size: 586 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris

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

47 entries across 47 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/solaris/zfs_spec.rb
serverspec-0.11.4 spec/solaris/zfs_spec.rb
serverspec-0.11.3 spec/solaris/zfs_spec.rb
serverspec-0.11.2 spec/solaris/zfs_spec.rb
serverspec-0.11.1 spec/solaris/zfs_spec.rb
serverspec-0.11.0 spec/solaris/zfs_spec.rb
serverspec-0.10.13 spec/solaris/zfs_spec.rb
serverspec-0.10.12 spec/solaris/zfs_spec.rb
serverspec-0.10.11 spec/solaris/zfs_spec.rb
serverspec-0.10.10 spec/solaris/zfs_spec.rb
serverspec-0.10.9 spec/solaris/zfs_spec.rb
serverspec-0.10.8 spec/solaris/zfs_spec.rb
serverspec-0.10.7 spec/solaris/zfs_spec.rb
serverspec-0.10.6 spec/solaris/zfs_spec.rb
serverspec-0.10.5 spec/solaris/zfs_spec.rb
serverspec-0.10.4 spec/solaris/zfs_spec.rb
serverspec-0.10.3 spec/solaris/zfs_spec.rb
serverspec-0.10.2 spec/solaris/zfs_spec.rb
serverspec-0.10.1 spec/solaris/zfs_spec.rb
serverspec-0.10.0 spec/solaris/zfs_spec.rb