[PUP-4382] Test to retrieve version of latest of pkgng package is broken Created: 2015/04/07 Updated: 2016/10/19 Resolved: 2015/05/20
|Fix Version/s:||PUP 4.1.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
When changing the rspec syntax from should syntax into expect().to syntax in spec/unit/provider/package/pkgng_spec.rb I discovered that one of the tests were broken. The code for the broken test was:
It's missing == after should_not and when adding that (or when changing to expect syntax) the test fails. It's currently commented out.
|Comment by Branan Riley [ 2015/04/07 ]|
It looks like in the context of the resource and provider being created by rspec, prefetch never gets called. and the provider's property_hash isn't populated.