diff --git a/spec/classes/watcher_cinder_client_spec.rb b/spec/classes/watcher_cinder_client_spec.rb index 1f460cf..f1c9ffe 100644 --- a/spec/classes/watcher_cinder_client_spec.rb +++ b/spec/classes/watcher_cinder_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::cinder_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('cinder_client/api_version').with_value(3) should contain_watcher_config('cinder_client/endpoint_type').with_value('publicURL') should contain_watcher_config('cinder_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_glance_client_spec.rb b/spec/classes/watcher_glance_client_spec.rb index 478c111..6e435e7 100644 --- a/spec/classes/watcher_glance_client_spec.rb +++ b/spec/classes/watcher_glance_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::glance_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('glance_client/api_version').with_value(2) should contain_watcher_config('glance_client/endpoint_type').with_value('publicURL') should contain_watcher_config('glance_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_gnocchi_client_spec.rb b/spec/classes/watcher_gnocchi_client_spec.rb index 73fd763..abeb2c7 100644 --- a/spec/classes/watcher_gnocchi_client_spec.rb +++ b/spec/classes/watcher_gnocchi_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::gnocchi_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('gnocchi_client/api_version').with_value(1) should contain_watcher_config('gnocchi_client/endpoint_type').with_value('publicURL') should contain_watcher_config('gnocchi_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_ironic_client_spec.rb b/spec/classes/watcher_ironic_client_spec.rb index 10b2bb2..b28684e 100644 --- a/spec/classes/watcher_ironic_client_spec.rb +++ b/spec/classes/watcher_ironic_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::ironic_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('ironic_client/api_version').with_value(1) should contain_watcher_config('ironic_client/endpoint_type').with_value('publicURL') should contain_watcher_config('ironic_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_keystone_client_spec.rb b/spec/classes/watcher_keystone_client_spec.rb index 1d0f7ca..8e765b4 100644 --- a/spec/classes/watcher_keystone_client_spec.rb +++ b/spec/classes/watcher_keystone_client_spec.rb @@ -22,7 +22,7 @@ describe 'watcher::keystone_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('keystone_client/endpoint_type').with_value('publicURL') should contain_watcher_config('keystone_client/region_name').with_value('regionOne') end diff --git a/spec/classes/watcher_neutron_client_spec.rb b/spec/classes/watcher_neutron_client_spec.rb index df82512..63da377 100644 --- a/spec/classes/watcher_neutron_client_spec.rb +++ b/spec/classes/watcher_neutron_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::neutron_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('neutron_client/api_version').with_value(2.0) should contain_watcher_config('neutron_client/endpoint_type').with_value('publicURL') should contain_watcher_config('neutron_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_nova_client_spec.rb b/spec/classes/watcher_nova_client_spec.rb index b176f7d..8584ded 100644 --- a/spec/classes/watcher_nova_client_spec.rb +++ b/spec/classes/watcher_nova_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::nova_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('nova_client/api_version').with_value(2) should contain_watcher_config('nova_client/endpoint_type').with_value('publicURL') should contain_watcher_config('nova_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_placement_client_spec.rb b/spec/classes/watcher_placement_client_spec.rb index ebed559..34caea2 100644 --- a/spec/classes/watcher_placement_client_spec.rb +++ b/spec/classes/watcher_placement_client_spec.rb @@ -24,7 +24,7 @@ describe 'watcher::placement_client' do } end - it 'should set the defaults' do + it 'should set the overridden values' do should contain_watcher_config('placement_client/api_version').with_value(1) should contain_watcher_config('placement_client/interface').with_value('publicURL') should contain_watcher_config('placement_client/region_name').with_value('regionOne') diff --git a/spec/classes/watcher_watcher_clients_auth_spec.rb b/spec/classes/watcher_watcher_clients_auth_spec.rb index 6c4e7a8..6f87dd1 100644 --- a/spec/classes/watcher_watcher_clients_auth_spec.rb +++ b/spec/classes/watcher_watcher_clients_auth_spec.rb @@ -38,7 +38,7 @@ describe 'watcher::watcher_clients_auth' do }) end - it 'should set the parameters' do + it 'should set the overridden values' do should contain_watcher_config('watcher_clients_auth/auth_url').with_value('http://127.0.0.1:5000/') should contain_watcher_config('watcher_clients_auth/username').with_value('alt_watcher') should contain_watcher_config('watcher_clients_auth/project_name').with_value('alt_services')