Sha256: c06e0b472680496267ae59a4f1b16b2a96006c8338c43393c7bec42a35469118
Contents?: true
Size: 752 Bytes
Versions: 5
Compression:
Stored size: 752 Bytes
Contents
require 'spec_helper' set :os, :family => 'freebsd', :release => 10 describe commands.command_class('package').create do it { should be_an_instance_of(Specinfra::Command::Freebsd::V10::Package) } end 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 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
5 entries across 5 versions & 1 rubygems