Display image & version in list

This commit is contained in:
Loïc Guitaut
2015-09-15 23:49:51 +02:00
parent 6731e4b24b
commit 39a3bcf3af
3 changed files with 14 additions and 3 deletions

View File

@@ -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, redis:3.0.4 (running)"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" {
dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l (running), exposed port(s): 6379->4242"
assert_contains "${lines[*]}" "l, redis:3.0.4 (running), exposed port(s): 6379->4242"
}
@test "($PLUGIN_COMMAND_PREFIX:list) when there are no services" {