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.25.0 spec/type/freebsd/package_spec.rb
serverspec-2.24.3 spec/type/freebsd/package_spec.rb
serverspec-2.24.2 spec/type/freebsd/package_spec.rb
serverspec-2.24.1 spec/type/freebsd/package_spec.rb
serverspec-2.24.0 spec/type/freebsd/package_spec.rb
serverspec-2.23.1 spec/type/freebsd/package_spec.rb
serverspec-2.23.0 spec/type/freebsd/package_spec.rb
serverspec-2.22.0 spec/type/freebsd/package_spec.rb
serverspec-2.21.1 spec/type/freebsd/package_spec.rb
serverspec-2.21.0 spec/type/freebsd/package_spec.rb
serverspec-2.20.0 spec/type/freebsd/package_spec.rb
serverspec-2.19.0 spec/type/freebsd/package_spec.rb
serverspec-2.18.0 spec/type/freebsd/package_spec.rb
serverspec-2.17.1 spec/type/freebsd/package_spec.rb
serverspec-2.17.0 spec/type/freebsd/package_spec.rb
serverspec-2.16.0 spec/type/freebsd/package_spec.rb
serverspec-2.15.0 spec/type/freebsd/package_spec.rb
serverspec-2.14.1 spec/type/freebsd/package_spec.rb
serverspec-2.14.0 spec/type/freebsd/package_spec.rb
serverspec-2.13.0 spec/type/freebsd/package_spec.rb