Permalink
Browse files

Update example.

  • Loading branch information...
1 parent b64ebdc commit fb2318108c5d0ffb730803933ed4de7fd71405f8 @uncas uncas committed Apr 29, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/test.ps1
View
@@ -1,5 +1,9 @@
nuget install pester -o packages
$path = Resolve-Path .
-$pesterPackagePath = (gci "$path\packages").FullName
+$pesterPackage = gci "$path\packages\Pester.*"
+if ($pesterPackage.count) {
+ $pesterPackage = $pesterPackage[$pesterPackage.count-1]
+}
+$pesterPackagePath = $pesterPackage.FullName
Import-Module "$pesterPackagePath\tools\Pester.psm1"
Invoke-Pester "$path\src"

0 comments on commit fb23181

Please sign in to comment.