lib/fog/aws/requests/auto_scaling/suspend_processes.rb in fog-1.6.0 vs lib/fog/aws/requests/auto_scaling/suspend_processes.rb in fog-1.7.0
- old
+ new
@@ -41,10 +41,10 @@
end
class Mock
def suspend_processes(auto_scaling_group_name, options = {})
- unless data[:auto_scaling_groups].has_key?(auto_scaling_group_name)
+ unless self.data[:auto_scaling_groups].has_key?(auto_scaling_group_name)
raise Fog::AWS::AutoScaling::ValidationError.new('AutoScalingGroup name not found - null')
end
Fog::Mock.not_implemented
end