Skip to content

Commit

Permalink
Updated tests for cross version compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapbrasser committed Oct 31, 2019
1 parent 9a15026 commit 54e834c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Get-RubrikVolumeGroup.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ Describe -Name 'Public/Get-RubrikVolumeGroup' -Tag 'Public', 'Get-RubrikVolumeGr
}

It -Name 'Requesting volumes property should be /etc when queried by id' -Test {
( Get-RubrikVolumeGroup -id VolumeGroup:::11111).Volumes.mountPoints |
( Get-RubrikVolumeGroup -id VolumeGroup:::11111).includes |
Should -BeExactly '/etc'
}

It -Name 'Requesting volumes property should be /etc when using -DetailedObject' -Test {
( Get-RubrikVolumeGroup -DetailedObject).Volumes.mountPoints |
( Get-RubrikVolumeGroup -Name VG01 -DetailedObject).includes |
Should -BeExactly '/etc'
}
Assert-VerifiableMock
Expand Down

0 comments on commit 54e834c

Please sign in to comment.