mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
test rds-authorized ec2 sg destroy
* despite the whole bit being `pending`
This commit is contained in:
parent
c47a4244f8
commit
2d340e77fe
1 changed files with 9 additions and 0 deletions
|
@ -408,6 +408,15 @@ Shindo.tests('Fog::Compute[:aws] | security group requests', ['aws']) do
|
|||
Fog::Compute[:aws].delete_security_group('not_a_group_name')
|
||||
end
|
||||
|
||||
@rds_security_group = Fog::AWS[:rds].security_groups.create(:id => "rdsgroup", :description => 'fog rds test')
|
||||
|
||||
tests("#delete_security_group('when authorized to an rds firewall')").raises(Fog::Compute::AWS::Error) do
|
||||
@rds_security_group.authorize_ec2_security_group(@security_group.name)
|
||||
Fog::Compute[:aws].delete_security_group(@security_group.name)
|
||||
end
|
||||
|
||||
@rds_security_group.destroy
|
||||
|
||||
@security_group.destroy
|
||||
@other_security_group.destroy
|
||||
|
||||
|
|
Loading…
Reference in a new issue