Last active
July 11, 2016 14:41
-
-
Save gaelcolas/a009d47d38ea15ea58edd7635b4f4572 to your computer and use it in GitHub Desktop.
Pester sample test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Describe 'checking File Exists' { | |
it 'Should resolve to C:\WinOps.txt' { | |
{ Resolve-Path C:\WinOps.txt -ErrorAction Stop } | should not Throw | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment