From 2eae6c25af1e27af4fa01ddd47b7b31576987f48 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 7 Jan 2021 00:14:43 -0500 Subject: [PATCH] tests: add test for logs:help --- tests/unit/logs.bats | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/unit/logs.bats diff --git a/tests/unit/logs.bats b/tests/unit/logs.bats new file mode 100644 index 000000000..44eaef40a --- /dev/null +++ b/tests/unit/logs.bats @@ -0,0 +1,19 @@ +#!/usr/bin/env bats + +load test_helper + +setup() { + global_setup +} + +teardown() { + destroy_app + global_teardown +} + +@test "(network) logs:help" { + run /bin/bash -c "dokku logs:help" + echo "output: $output" + echo "status: $status" + assert_output_contains "Manage log integration for an app" +}