Skip to content

Instantly share code, notes, and snippets.

@mattmcnabb
Created August 21, 2016 18:11
Show Gist options
  • Save mattmcnabb/02f6fcf93d66d00c7147fad48ec7dbd8 to your computer and use it in GitHub Desktop.
Save mattmcnabb/02f6fcf93d66d00c7147fad48ec7dbd8 to your computer and use it in GitHub Desktop.
Blog_Pester-For-PowerShell-Gallery
It "gallery tags don't contain spaces" {
foreach ($Tag in $ManifestHash.PrivateData.Values.tags)
{
$Tag | Should Not Match '\s'
}
}
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'
}
$Tag -notmatch '\s' | Should Be $true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment