Sha256: 12ad0d78678aac64f957830c7f50a4c9557483b01a35d5c13a344fed7d6f29c0
Contents?: true
Size: 790 Bytes
Versions: 6
Compression:
Stored size: 790 Bytes
Contents
require 'spec_helper' set :os, :family => 'debian' describe package('httpd') do it { should be_installed } end describe package('invalid-package') do it { should_not be_installed } end describe package('invalid-package') do it { should_not be_installed.by('apt') } 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 it { should_not be_installed.with_version('invalid-version') } 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
6 entries across 6 versions & 1 rubygems