modified to work under jenkins

This commit is contained in:
Zachary Folwick
2015-08-24 13:39:24 -07:00
parent 1d447bd470
commit a0ba3b6b8f
@@ -4,8 +4,8 @@
}
It "Should be able to access the members of the environment variable" {
$test = /usr/bin/whoami
$expected = "/" + $test
$expected = /bin/bash -c "cd ~ && pwd"
(Get-Item ENV:HOME).Value | Should Be $expected
(Get-Item ENV:HOSTNAME).Value | Should Not BeNullOrEmpty
(Get-Item ENV:PATH).Value | Should Not BeNullOrEmpty