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