Files
puppet-openstack/spec/classes/openstack_provision_spec.rb
Dan Bode 06c2bcc7c8 forward additional tempest parameters
This commit allows for two additional tempest
parameters to be forwarded from the openstack::provision
class:
  * version_to_test
  * resize_available

It also adds some initial and much needed unit tests.

Change-Id: I0c352e6f44dc90e055b47db508455972aae2765a
2013-07-17 19:59:52 -07:00

28 lines
491 B
Ruby

require 'spec_helper'
describe 'openstack::provision' do
let :facts do
{
:osfamily => 'Debian'
}
end
describe 'should be possible to override resize_available' do
let :params do
{
:configure_tempest => true,
:resize_available => true,
:version_to_test => 'stable/grizzly'
}
end
it { should contain_class('tempest').with(
:resize_available => true,
:version_to_test => 'stable/grizzly'
) }
end
end