Merge pull request #878 from PowerShell/GetHostUT

Add Unit Test for Get-Host
This commit is contained in:
Andy Schwartzmeyer
2016-04-20 21:06:07 -07:00
+8
View File
@@ -1,3 +1,11 @@
Describe "Get-Host DRT Unit Tests" -Tags DRT{
It "Should works proper with get-host" {
$results = Get-Host
$results | Should Be $Host
$results.GetType().Name | Should Be InternalHost
}
}
Describe "Get-Host" {
It "Should return a type of InternalHost for Get-Host cmdlet" {