Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion chatops/test_hubot.bats
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ load '../test_helpers/bats-assert/load'
assert_success

assert_output --partial "chatops.notify"
assert_output --partial "chatops.notify-errbot"

run eval "echo '$RESULTS' | jq -r '.[] | select( (.ref == \"chatops.notify\") and .enabled == true) .ref'"
run eval "echo '$RESULTS' | jq -r '.[] | select( (.ref == \"chatops.notify\" or .ref == \"chatops.notify-errbot\") and .enabled == true) .ref'"
assert_success
assert_output --partial "chatops.notify"
assert_output --partial "chatops.notify-errbot"
}

@test "hubot help command works" {
Expand Down