Created
August 21, 2016 18:11
-
-
Save mattmcnabb/02f6fcf93d66d00c7147fad48ec7dbd8 to your computer and use it in GitHub Desktop.
Blog_Pester-For-PowerShell-Gallery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It "gallery tags don't contain spaces" { | |
foreach ($Tag in $ManifestHash.PrivateData.Values.tags) | |
{ | |
$Tag | Should Not Match '\s' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It 'has a valid project Uri' { | |
$ManifestHash.PrivateData.Values.ProjectUri | Should Be 'https://github.com/mattmcnabb/O365ServiceCommunications' | |
} | |
It 'has a valid license Uri' { | |
$ManifestHash.PrivateData.Values.LicenseUri | Should Be 'http://opensource.org/licenses/MIT' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Tag -notmatch '\s' | Should Be $true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment