summaryrefslogtreecommitdiff
path: root/scripts/bk_tests/bk_run_choco.ps1
blob: 49f9186701982998c68a8d80da699f514e887f52 (plain)
1
2
3
4
5
6
7
8
9
$CurrentDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
$PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1"
Invoke-Expression $PrepScript

choco --version

echo "+++ bundle exec rspec chocolatey_package_spec"
bundle exec rspec spec/functional/resource/chocolatey_package_spec.rb
if (-not $?) { throw "Chef chocolatey functional tests failing." }