We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc2428d + 7348a8d commit bce1859Copy full SHA for bce1859
chatops/test_hubot.bats
@@ -35,10 +35,9 @@ load '../test_helpers/bats-assert/load'
35
36
assert_output --partial "chatops.notify"
37
38
- run eval "echo '$RESULTS' | jq -r '.[].enabled'"
+ run eval "echo '$RESULTS' | jq -r '.[] | select( (.ref == \"chatops.notify\") and .enabled == true) .ref'"
39
assert_success
40
-
41
- assert_output "true"
+ assert_output --partial "chatops.notify"
42
}
43
44
@test "hubot help command works" {
0 commit comments