lib/fog/openstack/requests/identity/delete_user_role.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/openstack/requests/identity/delete_user_role.rb in fog-maestrodev-1.14.0.20130806165225
- 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