Sha256: 0d068a6cdc5fa622c69c325b100aed65618eb12e14b03a9fe7d7cbe15f9eabd1

Contents?: true

Size: 598 Bytes

Versions: 20

Compression:

Stored size: 598 Bytes

Contents

require 'spec_helper'

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

Version Path
serverspec-0.11.1 spec/solaris11/zfs_spec.rb
serverspec-0.11.0 spec/solaris11/zfs_spec.rb
serverspec-0.10.13 spec/solaris11/zfs_spec.rb
serverspec-0.10.12 spec/solaris11/zfs_spec.rb
serverspec-0.10.11 spec/solaris11/zfs_spec.rb
serverspec-0.10.10 spec/solaris11/zfs_spec.rb
serverspec-0.10.9 spec/solaris11/zfs_spec.rb
serverspec-0.10.8 spec/solaris11/zfs_spec.rb
serverspec-0.10.7 spec/solaris11/zfs_spec.rb
serverspec-0.10.6 spec/solaris11/zfs_spec.rb
serverspec-0.10.5 spec/solaris11/zfs_spec.rb
serverspec-0.10.4 spec/solaris11/zfs_spec.rb
serverspec-0.10.3 spec/solaris11/zfs_spec.rb
serverspec-0.10.2 spec/solaris11/zfs_spec.rb
serverspec-0.10.1 spec/solaris11/zfs_spec.rb
serverspec-0.10.0 spec/solaris11/zfs_spec.rb
serverspec-0.9.8 spec/solaris11/zfs_spec.rb
serverspec-0.9.7 spec/solaris11/zfs_spec.rb
serverspec-0.9.6 spec/solaris11/zfs_spec.rb
serverspec-0.9.5 spec/solaris11/zfs_spec.rb