ticketmaster / poshspec

Infrastructure Testing DSL running in Pester
MIT License
183 stars 32 forks source link

Fix Package function returning more than one item #26

Closed devblackops closed 8 years ago

devblackops commented 8 years ago

This fixes issue #22 where Get-Package could return more than one item and incorrectly compare properties. This modifies the Package function to return the first item only.

cdhunt commented 8 years ago

It looks like this clobbers the fix in #24.

devblackops commented 8 years ago

Ack! Git is hard 😀 I'll update the PR.

devblackops commented 8 years ago

Actually this includes the fix for #22 which is just changing single quotes to double quotes. Should be safe to merge.