Files
ZertoApiWrapper/Tests/Public/External-Help.Tests.ps1
T
2019-03-26 15:39:17 -04:00

11 lines
400 B
PowerShell

$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper'
$publicFiles = Get-ChildItem "$filePath" -File
describe "External Help Present" {
foreach ($file in $publicFiles) {
it "External Help File Defined" {
Get-Content -Path $file.fullName -First 1 | should be "<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>"
}
}
}