1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|identity] Remove unused get_credentials request.

This commit is contained in:
Brad Gignac 2013-01-29 17:19:33 -05:00
parent f9c5773bb6
commit 944edfd099
3 changed files with 0 additions and 20 deletions

View file

@ -31,7 +31,6 @@ module Fog
request :create_user
request :update_user
request :delete_user
request :get_credentials
class Mock
def request

View file

@ -1,15 +0,0 @@
module Fog
module Rackspace
class Identity
class Real
def get_credentials(user_id)
request(
:expects => [200, 203],
:method => 'GET',
:path => "users/#{user_id}/OS-KSADM/credentials/RAX-KSKEY:apiKeyCredentials"
)
end
end
end
end
end

View file

@ -99,9 +99,5 @@ Shindo.tests('Fog::Rackspace::Identity | users', ['rackspace']) do
tests('#list_credentials').formats(CREDENTIALS_FORMAT) do
service.list_credentials(credential_id).body
end
tests('#get_credentials').formats(CREDENTIAL_FORMAT) do
service.get_credentials(credential_id).body
end
end
end