mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Remove Context for Import-Alias pester unit test
This commit is contained in:
1 parent
6e2190fc7d
commit
5c341e7d7f
1 file changed
-4
@@ -62,8 +62,6 @@ Describe "Import-Alias DRT Unit Tests" -Tags DRT{
|
|||||||
Describe "Import-Alias" {
|
Describe "Import-Alias" {
|
||||||
$pesteraliasfile = Join-Path -Path (Join-Path $PSScriptRoot -ChildPath assets) -ChildPath pesteralias.txt
|
$pesteraliasfile = Join-Path -Path (Join-Path $PSScriptRoot -ChildPath assets) -ChildPath pesteralias.txt
|
||||||
|
|
||||||
Context "Validate ability to import alias file" {
|
|
||||||
|
|
||||||
It "Should be able to import an alias file successfully" {
|
It "Should be able to import an alias file successfully" {
|
||||||
{ Import-Alias $pesteraliasfile } | Should Not throw
|
{ Import-Alias $pesteraliasfile } | Should Not throw
|
||||||
}
|
}
|
||||||
@@ -81,6 +79,4 @@ Describe "Import-Alias" {
|
|||||||
(ipal $pesteraliasfile)
|
(ipal $pesteraliasfile)
|
||||||
(pesterecho pestertesting) | Should be "pestertesting"
|
(pesterecho pestertesting) | Should be "pestertesting"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user