mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
25 lines
559 B
PowerShell
25 lines
559 B
PowerShell
Describe "Get-Culture DRT Unit Tests" -Tags "CI" {
|
|
It "Should works proper with get-culture" {
|
|
$results = get-Culture
|
|
$results -is "System.Globalization.CultureInfo" | Should be $true
|
|
$results[0].Name | Should Be $PSCulture
|
|
}
|
|
}
|
|
|
|
Describe "Get-Culture" -Tags "CI" {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
}
|