From db98f8482dc735ce0bfb84671aeaccfe77a685a5 Mon Sep 17 00:00:00 2001 From: dfinke Date: Sun, 27 May 2018 13:29:00 -0400 Subject: [PATCH] test exists --- UnitTests/ImportExcelTests/Simple.tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnitTests/ImportExcelTests/Simple.tests.ps1 b/UnitTests/ImportExcelTests/Simple.tests.ps1 index 179eda3..cbfee63 100644 --- a/UnitTests/ImportExcelTests/Simple.tests.ps1 +++ b/UnitTests/ImportExcelTests/Simple.tests.ps1 @@ -7,7 +7,8 @@ Describe "test" { It "$PSScriptRoot\Simple.xlsx should exist" { - "$PSScriptRoot\Simple.xlsx" | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx" + # "$PSScriptRoot\Simple.xlsx" | should be "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx" + (Test-Path "C:\projects\importexcel\UnitTests\ImportExcelTests\Simple.xlsx") | should be $true # "$pwd\Simple.xlsx" | should be "C:\Users\Douglas\Documents\GitHub\ImportExcel\UnitTests\ImportExcelTests\Simple.xlsx" # ((ls "$pwd\Simple.xlsx") -eq $null) | should be $false