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

[aws|iam] Make mock EntityAlreadyExists message match reality.

This commit is contained in:
Dan Peterson 2013-08-14 13:46:39 -03:00
parent fd0b94b860
commit d3318a9d09

View file

@ -71,7 +71,7 @@ module Fog
end
if self.data[:server_certificates][name]
raise Fog::AWS::IAM::EntityAlreadyExists.new
raise Fog::AWS::IAM::EntityAlreadyExists.new("The Server Certificate with name #{name} already exists.")
else
response.status = 200
path = options['Path'] || "/"