Skip to content

Commit

Permalink
Update push-test to show product of domains/hosts
Browse files Browse the repository at this point in the history
Given multiple hosts and multiple domains, a route will be created for
each item in the cartesian product of the hosts and domains.

This test didn't properly convey that, but now it does.

Signed-off-by: Muhammad Altaf <malik.altaf@gmail.com>
  • Loading branch information
Kris Hicks authored and malik-altaf committed Jan 8, 2016
1 parent 8525790 commit 049654f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cf/commands/application/push_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@ var _ = Describe("Push Command", func() {
[]string{"OK"},
[]string{"Binding", "manifest-host.example2.com"},
[]string{"OK"},
[]string{"Creating", "host2.example1.com"},
[]string{"OK"},
[]string{"Binding", "host2.example1.com"},
[]string{"OK"},
[]string{"Creating", "host2.example2.com"},
[]string{"OK"},
[]string{"Binding", "host2.example2.com"},
[]string{"OK"},
))
})

Expand Down

0 comments on commit 049654f

Please sign in to comment.