PowerShell7/test/powershell/Get-Culture.Tests.ps1
2016-03-04 14:52:27 -08:00

17 lines
287 B
PowerShell

Describe "Get-Culture" {
It "Should return a type of CultureInfo for Get-Culture cmdlet" {
(Get-Culture).GetType() | Should Be CultureInfo
}
It "Should have $ culture variable be equivalent to (Get-Culture).Name" {
(Get-Culture).Name | Should Be $PsCulture
}
}