Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created January 25, 2016 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/33ff449f92ed9242c96d to your computer and use it in GitHub Desktop.
Save PlagueHO/33ff449f92ed9242c96d to your computer and use it in GitHub Desktop.
Example DSC Resource Integration Tests Step 2
It 'Should have set the resource and all the parameters should match' {
# Get the Rule details
$virtualDiskNew = Get-iSCSIVirtualDisk -Path $VirtualDisk.Path
$VirtualDisk.Path | Should Be $virtualDiskNew.Path
$VirtualDisk.DiskType | Should Be $virtualDiskNew.DiskType
$VirtualDisk.Size | Should Be $virtualDiskNew.Size
$VirtualDisk.Description | Should Be $virtualDiskNew.Description
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment