Skip to content

Commit

Permalink
Add additional tests for PathStrip{Prefix}.
Browse files Browse the repository at this point in the history
  • Loading branch information
timoreimann authored and ldez committed May 23, 2017
1 parent f7d9dfa commit b392023
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion provider/kubernetes/kubernetes_test.go
Expand Up @@ -337,10 +337,20 @@ func TestRuleType(t *testing.T) {
frontendRuleType: ruleTypePathPrefix,
},
{
desc: "rule type annotation set",
desc: "Path rule type annotation set",
ingressRuleType: "Path",
frontendRuleType: "Path",
},
{
desc: "PathStrip rule type annotation set",
ingressRuleType: "PathStrip",
frontendRuleType: "PathStrip",
},
{
desc: "PathStripPrefix rule type annotation set",
ingressRuleType: "PathStripPrefix",
frontendRuleType: "PathStripPrefix",
},
}

for _, test := range tests {
Expand Down

0 comments on commit b392023

Please sign in to comment.