Add spec test for creation of stack domain admin
Change-Id: I05179189cc71fb2d09ad67291e61fae1708ae4b5
This commit is contained in:
parent
48fdd181f9
commit
b3983a8bd6
|
@ -116,6 +116,15 @@ describe 'openstack-orchestration::identity_registration' do
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'registers stack domain admin user' do
|
||||||
|
expect(chef_run).to create_openstack_user(
|
||||||
|
stack_domain_admin
|
||||||
|
).with(
|
||||||
|
password: password,
|
||||||
|
connection_params: connection_params
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
it do
|
it do
|
||||||
expect(chef_run).to grant_role_openstack_user(
|
expect(chef_run).to grant_role_openstack_user(
|
||||||
stack_domain_admin
|
stack_domain_admin
|
||||||
|
|
Loading…
Reference in New Issue