Sha256: 207df847095a7b1373dc4b596cf41093cf77d57e8a6074078b7c06c7eb458df8

Contents?: true

Size: 525 Bytes

Versions: 85

Compression:

Stored size: 525 Bytes

Contents

require 'spec_helper'

set :os, :family => 'suse'

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