Sha256: 240a91f5127f9f19e2274ae575ee18a86ec8cc2671c4ad1a9bba2a7acf57379f
Contents?: true
Size: 585 Bytes
Versions: 15
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Gentoo 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
15 entries across 15 versions & 1 rubygems