I suspect this is a rather serious bug, best demonstrated by example:
describe security_group('dpp-prod-user_api') do
its(:inbound) { should be_opened(nil) }
end
This test passes when I assume it really shouldn't - bearing in mind the security group I'm testing against has a rule for ports 5001-5003 (verified with a passing test case of its(:inbound) { should be_opened("5001 - 5003") }.
The implication of this is that malformed configuration files supplying test data to this test will cause the test to pass, regardless of whether it should pass or not.
This is my first Git Issue so I'm sorry if I haven't done this properly or if I've missed something obvious.
I suspect this is a rather serious bug, best demonstrated by example:
This test passes when I assume it really shouldn't - bearing in mind the security group I'm testing against has a rule for ports 5001-5003 (verified with a passing test case of
its(:inbound) { should be_opened("5001 - 5003") }.The implication of this is that malformed configuration files supplying test data to this test will cause the test to pass, regardless of whether it should pass or not.
This is my first Git Issue so I'm sorry if I haven't done this properly or if I've missed something obvious.