Merge "user_enabled should be a Boolean not a string"

This commit is contained in:
Jenkins 2013-05-28 12:58:22 +00:00 committed by Gerrit Code Review
commit 71dea12a76
2 changed files with 2 additions and 3 deletions

View File

@ -69,8 +69,7 @@ openstack_identity_register "Register Cinder Service User" do
tenant_name service_tenant_name
user_name service_user
user_pass service_pass
# String until https://review.openstack.org/#/c/29498/ merged
user_enabled "true" # Not required as this is the default
user_enabled true # Not required as this is the default
action :create_user
end

View File

@ -87,7 +87,7 @@ describe "openstack-block-storage::identity_registration" do
@identity_register_mock.should_receive(:user_pass).
with "cinder-pass"
@identity_register_mock.should_receive(:user_enabled).
with "true"
with true
@identity_register_mock.should_receive(:action).
with :create_user