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.42.3 spec/type/suse/package_spec.rb
serverspec-2.42.2 spec/type/suse/package_spec.rb
serverspec-2.42.1 spec/type/suse/package_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/suse/package_spec.rb
serverspec-2.42.0 spec/type/suse/package_spec.rb
serverspec-2.41.8 spec/type/suse/package_spec.rb
serverspec-2.41.7 spec/type/suse/package_spec.rb
serverspec-2.41.6 spec/type/suse/package_spec.rb
serverspec-2.41.5 spec/type/suse/package_spec.rb
serverspec-2.41.4 spec/type/suse/package_spec.rb
serverspec-ruby19-2.24.3 spec/type/suse/package_spec.rb
serverspec-2.41.3 spec/type/suse/package_spec.rb
serverspec-2.41.2 spec/type/suse/package_spec.rb
serverspec-2.41.1 spec/type/suse/package_spec.rb
serverspec-2.41.0 spec/type/suse/package_spec.rb
serverspec-2.40.0 spec/type/suse/package_spec.rb
serverspec-2.39.2 spec/type/suse/package_spec.rb
serverspec-2.39.1 spec/type/suse/package_spec.rb
serverspec-2.39.0 spec/type/suse/package_spec.rb
serverspec-2.38.1 spec/type/suse/package_spec.rb