Sha256: ce7efbb4cb9608e24e91ecfbe2cfe759e2319caf2e669d7ef92ddcb9097370af
Contents?: true
Size: 610 Bytes
Versions: 6
Compression:
Stored size: 610 Bytes
Contents
require 'spec_helper' set :os, :family => 'arch' =begin describe package('httpd') do it { should be_installed } end describe package('invalid-package') do it { should_not 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_not be_installed.with_version('invalid-version') } end =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