Sha256: 5425572b5bbe53f774e5264905cdecc55ec4cf0e9949b5620450844fb60bc028
Contents?: true
Size: 707 Bytes
Versions: 5
Compression:
Stored size: 707 Bytes
Contents
require 'spec_helper' set :os, :family => 'nixos' describe commands.command_class('package').create do it { should be_an_instance_of(Specinfra::Command::Nixos::Base::Package) } end 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('nix') } 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('nix').with_version('2.2.15-28.el6') } end describe package('httpd') do it { should_not be_installed.with_version('invalid-version') } end
Version data entries
5 entries across 5 versions & 1 rubygems