Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
updated Pester tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed Aug 28, 2019
1 parent 66343c6 commit 19884f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/MyTasks.module.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ Describe "Functions" {
$help.Examples | Should -Not -BeNullOrEmpty
}

It "<Name> has an online help link" -TestCases $cmds {
param($Name)
$help = Get-Help $Name
$help.relatedLinks.navigationlink.uri -match "http:" | Should -Not -BeNullOrEmpty
}

Context 'Enable-EmailReminder' {
$cmd = Get-Command -Name Enable-EmailReminder
$params = "TO", "TASKCREDENTIAL"
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
+ Added online help links
+ Updated `README.md`
+ Updated help documentation
+ Updated Pester tests

## v2.2.0

Expand Down

0 comments on commit 19884f0

Please sign in to comment.