lib/fog/aws/requests/auto_scaling/suspend_processes.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/aws/requests/auto_scaling/suspend_processes.rb in fog-maestrodev-1.8.0.20130109172219

- old
+ new

@@ -42,13 +42,18 @@ class Mock def suspend_processes(auto_scaling_group_name, options = {}) unless self.data[:auto_scaling_groups].has_key?(auto_scaling_group_name) - raise Fog::AWS::AutoScaling::ValidationError.new('AutoScalingGroup name not found - null') + raise Fog::AWS::AutoScaling::ValidationError.new("AutoScalingGroup name not found - no such group: #{auto_scaling_group_name}") end - Fog::Mock.not_implemented + response = Excon::Response.new + response.status = 200 + response.body = { + 'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id } + } + response end end end