spelling fixes: test

This commit is contained in:
Josh Soref committed 2016-08-25 17:49:32 +00:00
1 parent b375807d7f
commit 2badb244de
38 files changed
+96 -96

No files matched your search

@@ -3,16 +3,16 @@ Describe "Start-Sleep DRT Unit Tests" -Tags "CI" {
$dtStart = [DateTime]::Now
Start-Sleep -Seconds 1
$dtEnd = [DateTime]::Now
$millseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
$millseconds | Should BeGreaterThan 1000
$milliseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
$milliseconds | Should BeGreaterThan 1000
}
It "Should be works properly when sleeping with Milliseconds" {
$dtStart = [DateTime]::Now
Start-Sleep -Milliseconds 1000
$dtEnd = [DateTime]::Now
$millseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
$millseconds | Should BeGreaterThan 1000
$milliseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
$milliseconds | Should BeGreaterThan 1000
}
}