From f9da252276a809642ec242f273d4c16ea714514b Mon Sep 17 00:00:00 2001 From: Gareth Rushgrove Date: Thu, 30 Oct 2014 14:26:57 +0000 Subject: [PATCH] Added simple acceptance tests for security groups * Need to add tests for ingress rules * Once we merge VPC support we can add VPC security group support --- spec/spec_helper_acceptance.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 7b428bb3..9af7c44e 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -47,4 +47,11 @@ def get_instances(name) end.flatten end + def get_groups(name) + response = @client.describe_security_groups( + group_names: [name] + ) + response.data.security_groups + end + end