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:
parent
a082abf2f8
commit
b747795501
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue