puppet-keystone/spec/classes/keystone_python_spec.rb
Mathieu Gagné 2945f6e915 Use boolean instead of string
Change-Id: I9d9c3bc1b7ff88f59f7946fa17c6ae0dba0ba9e1
2013-05-22 17:44:15 -04:00

18 lines
347 B
Ruby

require 'spec_helper'
describe 'keystone::python' do
let :facts do
{ :osfamily => 'Debian' }
end
it { should contain_package('python-keystone').with_ensure("present") }
describe 'override ensure' do
let(:params) { { :ensure => "latest" } }
it { should contain_package('python-keystone').with_ensure("latest") }
end
end