File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Describe "PS Drive Full exercise" {
2929 }
3030
3131 It ' Should list Agent Pools' {
32- Push-Location
32+ Push-Location
3333 Set-Location ' Agent Pools'
3434 $items = Get-ChildItem
3535 Pop-Location
@@ -38,24 +38,20 @@ Describe "PS Drive Full exercise" {
3838 }
3939
4040 It ' Should list Extensions' {
41- Push-Location
41+ Push-Location
4242 Set-Location ' Extensions'
4343 $items = Get-ChildItem
4444 Pop-Location
4545
4646 $items | Should -Not - Be $null
4747 }
4848
49- # The point of this tests is to make sure no exceptions
50- # are thrown when calling Get-ChildItem
51- It ' Should list Feeds' - Skip:$skippedOnTFS {
52- Push-Location
49+ # The point of this test is to make sure no exceptions are thrown when calling Get-ChildItem
50+ It ' Should not throw exceptions when listing Feeds' - Skip:$skippedOnTFS {
51+ Push-Location
5352 Set-Location ' Feeds'
54- $items = Get-ChildItem
53+ { Get-ChildItem } | Should -Not - Throw
5554 Pop-Location
56-
57- # There are no feeds on this account
58- $items | Should - Be $null
5955 }
6056
6157 It ' Should list projects' {
@@ -71,7 +67,7 @@ Describe "PS Drive Full exercise" {
7167 }
7268
7369 It ' Should list Queues' {
74- Push-Location
70+ Push-Location
7571 Set-Location ' Queues'
7672 $items = Get-ChildItem
7773 Pop-Location
@@ -80,7 +76,7 @@ Describe "PS Drive Full exercise" {
8076 }
8177
8278 It ' Should list Repositories' {
83- Push-Location
79+ Push-Location
8480 Set-Location ' Repositories'
8581 $repos = Get-ChildItem
8682 Pop-Location
You can’t perform that action at this time.
0 commit comments