lib/kitchen/verifier/pester.rb in kitchen-pester-0.7.0 vs lib/kitchen/verifier/pester.rb in kitchen-pester-0.7.1
- old
+ new
@@ -116,10 +116,10 @@
end
#private
def run_command_script
<<-CMD
- $TestPath = "#{File.join(config[:root_path], 'pester')}";
+ $TestPath = "#{config[:root_path]}";
import-module Pester -force;
$result = invoke-pester -path $testpath -passthru ;
$result |
export-clixml (join-path $testpath 'result.xml');
$host.setshouldexit($result.failedcount)