Skip to content

Commit dc9990c

Browse files
authored
Merge pull request #195 from StackStorm/allow-errbot-notify-rule
Allow errbot notify rule
2 parents bce1859 + cefca57 commit dc9990c

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)