diff --git a/Tests/Unit/Public/New-PoshBotFileUpload.tests.ps1 b/Tests/Unit/Public/New-PoshBotFileUpload.tests.ps1 index 2874c771..838c5944 100644 --- a/Tests/Unit/Public/New-PoshBotFileUpload.tests.ps1 +++ b/Tests/Unit/Public/New-PoshBotFileUpload.tests.ps1 @@ -28,22 +28,22 @@ describe 'New-PoshBotFileUpload' { it 'Sends file content and not path' { $resp = New-PoshBotFileUpload -Content 'foo' - $resp.Path | should -be $null + $resp.Path | should be $null } it 'Has a valid [FileName] field when sending file content' { $resp = New-PoshBotFileUpload -Content 'foo' -FileName 'foo.txt' - $resp.FileName | should -be 'foo.txt' + $resp.FileName | should be 'foo.txt' } it 'Has a valid [FileType] field when sending file content' { $resp = New-PoshBotFileUpload -Content 'foo' -FileType 'powershell' - $resp.FileType | should -be 'powershell' + $resp.FileType | should be 'powershell' } it 'Sends file path and not content' { $resp = New-PoshBotFileUpload -Path $readme - $resp.Content | should -be $null + $resp.Content | should be $null }