Update Parameter Tests

This commit is contained in:
Wes Carroll
2019-07-23 12:57:01 -04:00
parent fd1619351e
commit 73884ef022
+3 -1
View File
@@ -5,7 +5,9 @@ $global:function = ((Split-Path -leaf $MyInvocation.MyCommand.Path).Split('.'))[
Describe $global:function -Tag 'Unit', 'Source', 'Built' {
Context "$global:function::Parameter Unit Tests" {
It "$global:function should have exactly 11 parameters defined" {
(Get-Command $global:function).Parameters.Count | Should -Be 11
}
}
Context "$global:function::Parameter Functional Tests" {