From d3318a9d09762b83132b8d2c1400e04d0fa93886 Mon Sep 17 00:00:00 2001 From: Dan Peterson Date: Wed, 14 Aug 2013 13:46:39 -0300 Subject: [PATCH] [aws|iam] Make mock EntityAlreadyExists message match reality. --- lib/fog/aws/requests/iam/upload_server_certificate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/requests/iam/upload_server_certificate.rb b/lib/fog/aws/requests/iam/upload_server_certificate.rb index 4f7927871..eccb884b9 100644 --- a/lib/fog/aws/requests/iam/upload_server_certificate.rb +++ b/lib/fog/aws/requests/iam/upload_server_certificate.rb @@ -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'] || "/"