
shellspec adds spec/support/bin to the path, so we can put scripts that should always be available here. Also don't source sxmo_common.sh in the helper, if scripts don't do it themselves we shouldn't do it for them in the tests. Signed-off-by: Anjandev Momi <anjan@momi.ca>
10 lines
253 B
Bash
10 lines
253 B
Bash
# This file is to investigate whether sxmo_common.sh is loaded in tests
|
|
|
|
Describe 'sxmo_common.sh'
|
|
It 'runs all tests with sxmo_common.sh loaded'
|
|
When call sh spec/helper/jq.sh
|
|
The output should equal 'gojq'
|
|
The status should be success
|
|
End
|
|
End
|