From 73af0b5dc930643a277d9e03d81350b66eb5496d Mon Sep 17 00:00:00 2001 From: jhoneill Date: Fri, 6 Jul 2018 19:57:17 +0100 Subject: [PATCH] Updated tests for export-excel --- __tests__/Export-Excel.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/Export-Excel.Tests.ps1 b/__tests__/Export-Excel.Tests.ps1 index 326a774..541c7ae 100644 --- a/__tests__/Export-Excel.Tests.ps1 +++ b/__tests__/Export-Excel.Tests.ps1 @@ -5,7 +5,7 @@ Import-Module $PSScriptRoot\..\ImportExcel.psd1 -Force if (Get-process -Name Excel,xlim -ErrorAction SilentlyContinue) { Write-Warning -Message "You need to close Excel before running the tests." ; return} -#53Describe ExportExcel { +Describe ExportExcel { Context "#Example 1 # Creates and opens a file with the right number of rows and columns" { $path = "$env:TEMP\Test.xlsx" @@ -685,7 +685,7 @@ if (Get-process -Name Excel,xlim -ErrorAction SilentlyContinue) { Write-Warni } Close-ExcelPackage -ExcelPackage $excel -nosave } -describe "foo" { + Context " # Awkward multiple tables" { $path = "$Env:TEMP\test.xlsx" remove-item -Path $path -ErrorAction SilentlyContinue