From 94dba5c590cde966cfcc09999cee5df96d6796af Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Sun, 3 Mar 2013 20:55:37 -0800 Subject: [PATCH] fix rspec test failures adding ruby 1.9.3 support identified a few tests that should have been failing. this commit fixes those tests. --- spec/classes/nova_compute_spec.rb | 2 +- spec/classes/nova_objectstore_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/classes/nova_compute_spec.rb b/spec/classes/nova_compute_spec.rb index ddd7c2e1b..df9868b3b 100644 --- a/spec/classes/nova_compute_spec.rb +++ b/spec/classes/nova_compute_spec.rb @@ -60,7 +60,7 @@ describe 'nova::compute' do end it { should contain_nova_config('vnc_enabled').with_value('false') } - it { should contain_nova_config('vncserver_proxyclient_address').with('127.0.0.1')} + it { should contain_nova_config('vncserver_proxyclient_address').with_value('127.0.0.1')} it { should_not contain_nova_config('novncproxy_base_url') } end diff --git a/spec/classes/nova_objectstore_spec.rb b/spec/classes/nova_objectstore_spec.rb index 4d4a2f7c8..3d4763c4c 100644 --- a/spec/classes/nova_objectstore_spec.rb +++ b/spec/classes/nova_objectstore_spec.rb @@ -48,6 +48,6 @@ describe 'nova::objectstore' do 'ensure' => 'stopped', 'enable' => false )} - it { should contain_package('nova-objectstore').with('openstack-nova-objectstore') } + it { should contain_package('nova-objectstore').with_name('openstack-nova-objectstore') } end end