require test to have call to function

This commit is contained in:
Kevin Marquette
2018-08-14 14:02:08 -07:00
parent c8d84157dc
commit 1b3777475b

View File

@@ -16,6 +16,7 @@ Describe "Public commands have comment-based or external help" -Tags 'Build' {
It "Should have an Example" { It "Should have an Example" {
$node.Examples | Should Not BeNullOrEmpty $node.Examples | Should Not BeNullOrEmpty
$node.Examples | Out-String | Should -Match ($node.Name)
} }
foreach ($parameter in $node.Parameters.Parameter) foreach ($parameter in $node.Parameters.Parameter)