Sha256: b31d305cf3a3a76c0cfc6cb7ca487d5c89fcd20e04a28ac42ea40179dfbba942

Contents?: true

Size: 594 Bytes

Versions: 14

Compression:

Stored size: 594 Bytes

Contents

require 'spec_helper'

RSpec.configure do |c|
  c.os = 'Plamo'
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

14 entries across 14 versions & 1 rubygems

Version Path
serverspec-0.11.1 spec/plamo/zfs_spec.rb
serverspec-0.11.0 spec/plamo/zfs_spec.rb
serverspec-0.10.13 spec/plamo/zfs_spec.rb
serverspec-0.10.12 spec/plamo/zfs_spec.rb
serverspec-0.10.11 spec/plamo/zfs_spec.rb
serverspec-0.10.10 spec/plamo/zfs_spec.rb
serverspec-0.10.9 spec/plamo/zfs_spec.rb
serverspec-0.10.8 spec/plamo/zfs_spec.rb
serverspec-0.10.7 spec/plamo/zfs_spec.rb
serverspec-0.10.6 spec/plamo/zfs_spec.rb
serverspec-0.10.5 spec/plamo/zfs_spec.rb
serverspec-0.10.4 spec/plamo/zfs_spec.rb
serverspec-0.10.3 spec/plamo/zfs_spec.rb
serverspec-0.10.2 spec/plamo/zfs_spec.rb