From d44bd4a7b4b3564e1c6533e24ec5b5312162146e Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 29 Jan 2014 10:29:04 +0100 Subject: [PATCH] identity: fix unit tests Close #98 Signed-off-by: Emilien Macchi --- spec/classes/cloud_identity_spec.rb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/spec/classes/cloud_identity_spec.rb b/spec/classes/cloud_identity_spec.rb index bc55cdb4..1c8536a3 100644 --- a/spec/classes/cloud_identity_spec.rb +++ b/spec/classes/cloud_identity_spec.rb @@ -91,7 +91,7 @@ describe 'cloud::identity' do it 'configure keystone server' do should contain_class('keystone').with( - :enabled => false, + :enabled => true, :admin_token => 'SECRETE', :compute_port => '8774', :debug => true, @@ -118,15 +118,16 @@ describe 'cloud::identity' do ) end - it 'configure apache to run keystone with wsgi' do - should contain_class('keystone::wsgi::apache').with( - :servername => 'keystone.openstack.org', - :admin_port => '35357', - :public_port => '5000', - :workers => '2', - :ssl => false - ) - end + # TODO(EmilienM) Disable WSGI - bug #98 + # it 'configure apache to run keystone with wsgi' do + # should contain_class('keystone::wsgi::apache').with( + # :servername => 'keystone.openstack.org', + # :admin_port => '35357', + # :public_port => '5000', + # :workers => '2', + # :ssl => false + # ) + # end it 'configure keystone endpoint' do should contain_class('keystone::endpoint').with(