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, :change_password_available => true, :tempest_repo_revision => 'stable/grizzly' } end it { should contain_class('tempest').with( :resize_available => true, :change_password_available => true, :tempest_repo_revision => 'stable/grizzly' ) } it 'should configure neutron networks' do should contain_neutron_network('public').with( 'ensure' => 'present', 'router_external' => true, 'tenant_name' => 'admin' ) should contain_neutron_network('private').with( 'ensure' => 'present', 'tenant_name' => 'demo' ) end end end