From 914c81c670306300b0c28c41a8010785d7ffaf3c Mon Sep 17 00:00:00 2001 From: Nick Osborn Date: Sat, 22 Sep 2012 19:10:10 +0100 Subject: [PATCH] [aws|auto_scaling] fix AutoScalingGroupName in mock --- lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb b/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb index 6ecfc6384..dfedafd87 100644 --- a/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +++ b/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb @@ -102,7 +102,7 @@ module Fog end data[:auto_scaling_groups][auto_scaling_group_name] = { 'AutoScalingGroupARN' => Fog::AWS::Mock.arn('autoscaling', @owner_id, "autoScalingGroup:00000000-0000-0000-0000-000000000000:autoScalingGroupName/#{auto_scaling_group_name}", @region), - 'AutoScalingGroupName' => launch_configuration_name, + 'AutoScalingGroupName' => auto_scaling_group_name, 'AvailabilityZones' => availability_zones.to_a, 'CreatedTime' => Time.now.utc, 'DefaultCooldown' => 300,