You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using awspec to test created ALB with Target Groups. When I tried to test listener rules I end with error if I try to test actions. In this case below doesn't work
it do
should have_rule.priority('1')
.conditions(field: 'host-header', values: ['tests-hostname.com'])
.actions(target_group_name: 'test-targetgroup', type: 'forward')
end
However if I remove actions, I get proper result
it do
should have_rule.priority('1')
.conditions(field: 'host-header', values: ['tests-hostname.com'])
end
I'm sure that test is constructed correctly so that specific rule exists and forwards to that specific target group.
The text was updated successfully, but these errors were encountered:
Hello,
I'm using awspec to test created ALB with Target Groups. When I tried to test listener rules I end with error if I try to test actions. In this case below doesn't work
However if I remove actions, I get proper result
I'm sure that test is constructed correctly so that specific rule exists and forwards to that specific target group.
The text was updated successfully, but these errors were encountered: