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

[rackspace] fixing broken tests

This commit is contained in:
Kyle Rames 2013-04-17 10:19:07 -05:00
parent a082abf2f8
commit b747795501
2 changed files with 2 additions and 1 deletions

View file

@ -34,7 +34,7 @@ module Fog
response
else
response.status = 400
raise(Excon::Errors.status_error({:expects => 202}, response))
raise Fog::Compute::Rackspace::NotFound.new
end
end

View file

@ -23,6 +23,7 @@ module Fog
class Mock
def delete_image(image_id)
raise Fog::Compute::RackspaceV2::NotFound.new if image_id == Fog::Rackspace::MockData::NOT_FOUND_ID
response = Excon::Response.new
response.status = 202
response.body = ""