Correct rally::settings spec test
This patch aim to fix following issues: - wrong spec test filename - syntax error - wrong local variable Change-Id: I20d9854caa029af1a30967b380354f9e81f4cb89
This commit is contained in:
@@ -9,7 +9,7 @@ describe 'rally::settings' do
|
||||
|
||||
let :rally_settings_params do
|
||||
{
|
||||
:openstack_client_http_timeout => 180.0
|
||||
:openstack_client_http_timeout => 180.0,
|
||||
:cirros_img_url => 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img',
|
||||
:resource_deletion_timeout => 600,
|
||||
:project_domain => 'default',
|
||||
@@ -30,7 +30,7 @@ describe 'rally::settings' do
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_cinder_params ) }
|
||||
before { params.merge!( rally_settings_params ) }
|
||||
it 'configures rally settings with all parameters' do
|
||||
is_expected.to contain_rally_config('DEFAULT/openstack_client_http_timeout').with(:value => 180.0)
|
||||
is_expected.to contain_rally_config('image/cirros_img_url').with(:value => 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img')
|
||||
Reference in New Issue
Block a user