Sha256: eb814d2ef6bf9fb0a4a41544b790c7717b5c6d1e6377b43b7485087394303cfb

Contents?: true

Size: 527 Bytes

Versions: 85

Compression:

Stored size: 527 Bytes

Contents

require 'spec_helper'

set :os, :family => 'debian'

describe package('httpd') do
  it { should 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 be_installed.by('apt').with_version('2.2.15-28.el6') }
end

describe package('httpd') do
  let(:stdout) { "2.2.15\n" }
  its(:version) { should eq '2.2.15' }
  its(:version) { should > '2.2.14' }
  its(:version) { should < '2.2.16' }
  its(:version) { should > '2.2.9' }
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.1.0 spec/type/debian/package_spec.rb
serverspec-2.0.1 spec/type/debian/package_spec.rb
serverspec-2.0.0 spec/type/debian/package_spec.rb
serverspec-2.0.0.beta21 spec/type/debian/package_spec.rb
serverspec-2.0.0.beta20 spec/type/debian/package_spec.rb