Files
PowerShell/test/powershell/Get-Location.Tests.ps1
T
Andrew Schwartzmeyer 0aaf74bdcc Convert Pester tests to ASCII
Instead of UTF-8 with BOM.

Resolves #417.
2016-03-04 14:48:30 -08:00

18 lines
350 B
PowerShell

Describe "Get-Location" {
BeforeEach {
pushd $env:HOME
}
AfterEach {
popd
}
It "Should list the output of the current working directory" {
(Get-Location).Path | Should Be $env:HOME
}
It "Should do exactly the same thing as its alias" {
(pwd).Path | Should Be (Get-Location).Path
}
}