Document exposed ports when an invalid number of arguments are specified

This commit is contained in:
Jose Diaz-Gonzalez
2016-08-28 21:24:44 -04:00
parent 089f8e700c
commit 4e4629a7c5
2 changed files with 3 additions and 3 deletions

View File

@@ -26,5 +26,5 @@ teardown() {
@test "($PLUGIN_COMMAND_PREFIX:expose) success when providing custom ports" {
run dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245
assert_contains "${lines[*]}" "exposed on port(s) 4242 4243 4244 4245"
assert_contains "${lines[*]}" "exposed on port(s) [container~>host]: 27017~>4242 27018~>4243 27019~>4244 28017~>4245"
}