Browse Source

Add spec test for creation of stack domain admin

Change-Id: I05179189cc71fb2d09ad67291e61fae1708ae4b5
Roger Luethi 1 year ago
parent
commit
b3983a8bd6
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      spec/identity_registration_spec.rb

+ 9
- 0
spec/identity_registration_spec.rb View File

@@ -116,6 +116,15 @@ describe 'openstack-orchestration::identity_registration' do
116 116
       )
117 117
     end
118 118
 
119
+    it 'registers stack domain admin user' do
120
+      expect(chef_run).to create_openstack_user(
121
+        stack_domain_admin
122
+      ).with(
123
+        password: password,
124
+        connection_params: connection_params
125
+      )
126
+    end
127
+
119 128
     it do
120 129
       expect(chef_run).to grant_role_openstack_user(
121 130
         stack_domain_admin

Loading…
Cancel
Save