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

Update mocks to simulate real results.

This commit is contained in:
Rupak Ganguly 2012-04-10 12:46:01 -04:00
parent 5fdaa092c6
commit 3f2aba443f

View file

@ -19,10 +19,12 @@ module Fog
response.body = { 'changePassword' => { 'adminPass' => admin_password }}
end
response.status = 202
response
else
raise Fog::Compute::HP::NotFound
#raise Fog::Compute::HP::NotFound
response.status = 500
raise(Excon::Errors.status_error({:expects => 200}, response))
end
response
end
end