Sha256: 78e21d8f71830fd8ae7e9fc81572afc3ef2ec74631724f0666357b7c0a546514
Contents?: true
Size: 539 Bytes
Versions: 3
Compression:
Stored size: 539 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 describe package('httpd') do it { should be_installed.by('homebrew') } end describe package('httpd') do it { should be_installed.by('pkgutil') } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
serverspec-2.0.0.beta19 | spec/type/darwin/package_spec.rb |
serverspec-2.0.0.beta18 | spec/type/darwin/package_spec.rb |
serverspec-2.0.0.beta17 | spec/type/darwin/package_spec.rb |