diff options
-rw-r--r-- | habitat/tests/spec.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/habitat/tests/spec.ps1 b/habitat/tests/spec.ps1 index 5108b6d554..ab1656b221 100644 --- a/habitat/tests/spec.ps1 +++ b/habitat/tests/spec.ps1 @@ -9,9 +9,10 @@ winrm quickconfig -quiet $chef_gem_root = (hab pkg exec $PackageIdentifier gem.cmd which chef | Split-Path | Split-Path) try { Push-Location $chef_gem_root + $env:PATH = "C:\hab\bin;$env:PATH" hab pkg binlink --force $PackageIdentifier /hab/bin/rspec --format progress --tag ~executables --tag ~choco_installed spec/functional if (-not $?) { throw "functional testing failed"} } finally { Pop-Location -}
\ No newline at end of file +} |