From 3baa6dd291e7e1a5b268e873f9c89fff2c728bbe Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 17 Nov 2020 00:52:27 +0100 Subject: [PATCH] Test for notify-errbot, since rule is added to chatops pack. --- chatops/test_hubot.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chatops/test_hubot.bats b/chatops/test_hubot.bats index 1a5606d..654f4c3 100644 --- a/chatops/test_hubot.bats +++ b/chatops/test_hubot.bats @@ -33,7 +33,8 @@ load '../test_helpers/bats-assert/load' run eval "echo '$RESULTS' | jq -r '.[].ref'" assert_success - assert_output "chatops.notify" + assert_line --index 0 "chatops.notify" + assert_line --index 1 "chatops.notify-errbot" run eval "echo '$RESULTS' | jq -r '.[].enabled'" assert_success