lib/fog/openstack/requests/identity/delete_user_role.rb in fog-1.9.0 vs lib/fog/openstack/requests/identity/delete_user_role.rb in fog-1.10.0

- old
+ new

@@ -3,21 +3,21 @@ class OpenStack class Real def delete_user_role(tenant_id, user_id, role_id) request( - :expects => 200, + :expects => 204, :method => 'DELETE', :path => "/tenants/#{tenant_id}/users/#{user_id}/roles/OS-KSADM/#{role_id}" ) end end class Mock def delete_user_role(tenant_id, user_id, role_id) response = Excon::Response.new - response.status = 200 + response.status = 204 response end end end end