Sha256: 1d2c27b778962fa81a6e7ea7161a7ff637edaafb8eeab2425309b5db9a6bc878

Contents?: true

Size: 425 Bytes

Versions: 85

Compression:

Stored size: 425 Bytes

Contents

require 'spec_helper'

set :os, :family => 'freebsd'

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
  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.12.0 spec/type/freebsd/package_spec.rb
serverspec-2.11.0 spec/type/freebsd/package_spec.rb
serverspec-2.10.2 spec/type/freebsd/package_spec.rb
serverspec-2.10.1 spec/type/freebsd/package_spec.rb
serverspec-2.10.0 spec/type/freebsd/package_spec.rb
serverspec-2.9.1 spec/type/freebsd/package_spec.rb
serverspec-2.9.0 spec/type/freebsd/package_spec.rb
serverspec-2.8.2 spec/type/freebsd/package_spec.rb
serverspec-2.8.1 spec/type/freebsd/package_spec.rb
serverspec-2.8.0 spec/type/freebsd/package_spec.rb
serverspec-2.7.2 spec/type/freebsd/package_spec.rb
serverspec-2.7.1 spec/type/freebsd/package_spec.rb
serverspec-2.7.0 spec/type/freebsd/package_spec.rb
serverspec-2.6.0 spec/type/freebsd/package_spec.rb
serverspec-2.5.0 spec/type/freebsd/package_spec.rb
serverspec-2.4.0 spec/type/freebsd/package_spec.rb
serverspec-2.3.1 spec/type/freebsd/package_spec.rb
serverspec-2.3.0 spec/type/freebsd/package_spec.rb
serverspec-2.2.0 spec/type/freebsd/package_spec.rb
serverspec-clc-2.1.0 spec/type/freebsd/package_spec.rb