Remove / and /tmp references

This commit is contained in:
George Fleming authored and Andrew Schwartzmeyer committed 2016-02-08 10:59:02 -08:00
1 parent cb6d7011d9
commit bdffd103d9
22 files changed
+91 -112

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ Describe "Invoke-Expression" {
}
It "Should return the echoed text from a script" {
$testfile = "$here/assets/echoscript.ps1"
$testfile = Join-Path -Path (Join-Path $here -ChildPath assets) -ChildPath echoscript.ps1
$testcommand = "echo pestertestscript"
$testcommand | Add-Content -Path $testfile
(Invoke-Expression $testfile) | Should Be "pestertestscript"
@@ -21,7 +21,7 @@ Describe "Invoke-Expression" {
}
It "Should return the echoed text from a script from the alias" {
$testfile = "$here/assets/echoscript.ps1"
$testfile = Join-Path -Path (Join-Path $here -ChildPath assets) -ChildPath echoscript.ps1
$testcommand = "echo pestertestscript"
$testcommand | Add-Content -Path $testfile
(iex $testfile) | Should Be "pestertestscript"