Sha256: 43563800e06f0f6b6382b82e86b5622c4c9e88a80d720eb3d74f62f87b3aecf1

Contents?: true

Size: 573 Bytes

Versions: 6

Compression:

Stored size: 573 Bytes

Contents

require 'spec_helper'

set :os, :family => 'nixos'

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

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 spec/type/nixos/package_spec.rb
serverspec-2.0.0.beta18 spec/type/nixos/package_spec.rb
serverspec-2.0.0.beta17 spec/type/nixos/package_spec.rb
serverspec-2.0.0.beta16 spec/type/nixos/package_spec.rb
serverspec-2.0.0.beta15 spec/type/nixos/package_spec.rb
serverspec-2.0.0.beta14 spec/type/nixos/package_spec.rb