Compare commits

...

2 Commits
1.2.6 ... 1.2.7

Author SHA1 Message Date
Jose Diaz-Gonzalez
84b62938da Release 1.2.7 2018-04-23 18:25:47 -04:00
Jose Diaz-Gonzalez
6b25da8d43 fix: use assert_contains 2018-04-23 18:25:47 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
[plugin]
description = "dokku mysql service plugin"
version = "1.2.6"
version = "1.2.7"
[plugin.config]

View File

@@ -24,11 +24,11 @@ teardown() {
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
export ECHO_DOCKER_COMMAND="true"
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
assert_output "docker logs --tail 100 testid"
assert_contains "docker logs --tail 100 testid"
}
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
export ECHO_DOCKER_COMMAND="true"
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
assert_output "docker logs --follow testid"
assert_contains "docker logs --follow testid"
}