export BROWSER variable, and test that its set.

This commit is contained in:
Paul Irish 2017-06-18 17:14:31 -07:00
parent c2c7830514
commit 53e91d130b

View file

@ -7,9 +7,18 @@ foldername="sandboxrepo"
setup() {
create_git_sandbox
BROWSER=echo
export BROWSER=echo
}
##
## Test environment
##
@test "test environment" {
assert_equal "$BROWSER" "echo"
cd ..
assert [ -e "$foldername" ]
assert [ -e "$foldername/.git" ]
}
##
## GitHub