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