Skip to content

Commit cefca57

Browse files
committed
Add tests for chatops.notify-errbot
1 parent bce1859 commit cefca57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chatops/test_hubot.bats

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ load '../test_helpers/bats-assert/load'
3434
assert_success
3535

3636
assert_output --partial "chatops.notify"
37+
assert_output --partial "chatops.notify-errbot"
3738

38-
run eval "echo '$RESULTS' | jq -r '.[] | select( (.ref == \"chatops.notify\") and .enabled == true) .ref'"
39+
run eval "echo '$RESULTS' | jq -r '.[] | select( (.ref == \"chatops.notify\" or .ref == \"chatops.notify-errbot\") and .enabled == true) .ref'"
3940
assert_success
4041
assert_output --partial "chatops.notify"
42+
assert_output --partial "chatops.notify-errbot"
4143
}
4244

4345
@test "hubot help command works" {

0 commit comments

Comments
 (0)