tests/aws/requests/elasticache/security_group_tests.rb in fog-maestrodev-1.15.0.20130829165835 vs tests/aws/requests/elasticache/security_group_tests.rb in fog-maestrodev-1.15.0.20130927082724
- old
+ new
@@ -1,12 +1,11 @@
Shindo.tests('AWS::Elasticache | security group requests', ['aws', 'elasticache']) do
tests('success') do
- pending if Fog.mocking?
name = 'fog-test'
- description = 'Fog Test Group'
+ description = 'Fog Test Security Group'
tests(
'#create_cache_security_group'
).formats(AWS::Elasticache::Formats::SINGLE_SECURITY_GROUP) do
body = AWS[:elasticache].create_cache_security_group(name, description).body
@@ -72,9 +71,11 @@
end
tests(
'#revoke_cache_security_group_ingress'
).formats(AWS::Elasticache::Formats::SINGLE_SECURITY_GROUP) do
+ pending if Fog.mocking?
+
body = AWS[:elasticache].revoke_cache_security_group_ingress(
name, ec2_group.name, ec2_group.owner_id
).body
group = body['CacheSecurityGroup']
expected_ec2_groups = [{