Migrate PATH zombie test to Cucumber.

This commit is contained in:
Raphael Reitzig 2020-05-26 04:48:12 +02:00
parent 0a948c81c1
commit 42aff3b4c5
5 changed files with 27 additions and 15 deletions

View file

@ -11,3 +11,8 @@ Feature: Corner Cases
Then environment variable SDKMAN_DIR has the original value
# TODO: add test that fails if `test` in conf.d/sdk.fish:80 errors (cf issue #28 et al.)
Scenario: PATH should contain only valid paths
Given candidate crash is installed
When candidate crash is uninstalled
Then environment variable PATH cannot contain "sdkman/candidates/crash/"