Update function to allow pipeline operations

This commit is contained in:
Wes Carroll
2020-02-28 08:15:53 -05:00
parent a36a7cb37a
commit e19f9b34f5
3 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' {
Context "$($global:function)::Parameter Unit Tests" {
It "Has a parameter for the VpgName that is Mandatory" {
Get-Command $global:function | Should -HaveParameter vpgName -Mandatory -Type String
Get-Command $global:function | Should -HaveParameter vpgName -Mandatory -Type 'String[]'
}
It "Has a parameter for the CheckpointName that is Mandatory" {