Display image & version in list
This commit is contained in:
@@ -11,13 +11,13 @@ teardown() {
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:list) with no exposed ports" {
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:list"
|
||||
assert_contains "${lines[*]}" "l (running)"
|
||||
assert_contains "${lines[*]}" "l, mongo:3.0.6 (running)"
|
||||
}
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" {
|
||||
dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:list"
|
||||
assert_contains "${lines[*]}" "l (running), exposed port(s): 27017->4242 27018->4243 27019->4244 28017->4245"
|
||||
assert_contains "${lines[*]}" "l, mongo:3.0.6 (running), exposed port(s): 27017->4242 27018->4243 27019->4244 28017->4245"
|
||||
}
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:list) when there are no services" {
|
||||
|
||||
Reference in New Issue
Block a user