refactored the supporting file list that gets copied so it can be tested

This commit is contained in:
dfinke
2018-08-01 11:18:13 -04:00
parent a0719b22f0
commit 26bf4b9a64
4 changed files with 52 additions and 42 deletions

View File

@@ -0,0 +1,10 @@
Describe "ImportExcel File List" {
It "All files should exist" {
$fileList = Get-Content "$PSScriptRoot\..\filelist.txt"
foreach ($file in $fileList) {
$targetFile = "$PSScriptRoot\..\$file"
Test-Path $targetFile | Should Be $true
}
}
}