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.
1 parent b2bd5c2 commit 02794c4Copy full SHA for 02794c4
1 file changed
tests/functional/doubles_test.sh
@@ -14,13 +14,11 @@ function test_mock_ps_when_executing_a_sourced_function() {
14
}
15
16
function test_spy_commands_called_once_when_executing_a_script() {
17
- skip "not working while executing commands outside a function" && return
18
-
19
spy ps
20
spy awk
21
spy head
22
23
- ./tests/functional/fixtures/doubles_script.sh
+ bash ./tests/functional/fixtures/doubles_script.sh
24
25
assert_have_been_called_times 1 ps
26
assert_have_been_called_times 1 awk
0 commit comments