Skip to content

Instantly share code, notes, and snippets.

@TravisEz13
Created August 5, 2018 20:52
Show Gist options
  • Save TravisEz13/d521ed1151137ba54f930066371a3dd5 to your computer and use it in GitHub Desktop.
Save TravisEz13/d521ed1151137ba54f930066371a3dd5 to your computer and use it in GitHub Desktop.
Describe 'verify testdrive:' {
BeforeAll {
$testPath = 'TestDrive:/test.txt'
'test' | out-file -path $testPath
}
it 'verify file' {
Get-Content -path $testPath | should -be 'test'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment