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

[ibm] Raise NotFound in mock instead of returning a 404

This commit is contained in:
Decklin Foster 2012-02-13 10:42:45 -05:00
parent c62156f906
commit 70cab59f5f

View file

@ -50,7 +50,7 @@ module Fog
response.status = 200
response.body = self.data[:instances][instance_id]
else
response.status = 404
raise Fog::Compute::IBM::NotFound
end
response
end