Sha256: f5a49c583a1c96a69f15c840f8d0abfe97c7c37d6402d0c465ea5c02b7fbfdac

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

require 'spec_helper'

set :os, :family => 'darwin'

describe package('httpd') do
  it { should be_installed }
end

describe package('invalid-package') do
  it { should_not be_installed }
end

describe package('httpd') do
  it { should be_installed.with_version('2.2.15-28.el6') }
end

describe package('httpd') do
  it { should_not be_installed.with_version('invalid-version') }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta16 spec/type/darwin/package_spec.rb
serverspec-2.0.0.beta15 spec/type/darwin/package_spec.rb
serverspec-2.0.0.beta14 spec/type/darwin/package_spec.rb