Files
PowerShell-PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-FormatData.Tests.ps1
T
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00

14 lines
342 B
PowerShell

Describe "Get-FormatData" -Tags "CI" {
Context "Check return type of Get-FormatData" {
It "Should return an object[] as the return type" {
(Get-FormatData).GetType() | Should be System.Object[]
}
It "Should return a System.Object[] with a count greater than 0" {
(Get-formatData).Count | Should BeGreaterThan 0
}
}
}