Sha256: c00a1964cc4f4b278d4b33ce3c230c4f16fccfde1e92eda8ee0435ab8342561b
Contents?: true
Size: 595 Bytes
Versions: 20
Compression:
Stored size: 595 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'Debian' end 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
20 entries across 20 versions & 1 rubygems