HomePhorge

maint: Fix PSON order dependency in test
a18ac7813c7fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

maint: Fix PSON order dependency in test

Testing of the to_pson method relied on order dependency that was
causing failures in ruby 1.8.6 (though not 1.8.7). Fixed this by parsing
the resulting PSON and testing the parsed object's properties instead of
doing string matching.

Reviewed-by:Matt Robinson <matt@puppetlabs.com>

Details

Provenance
Max Martin <max@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU485501a55e99: Merge branch '2.7.x' into next
Branches
Unknown
Tags
Unknown

Event Timeline

Max Martin <max@puppetlabs.com> committed rPUa18ac7813c7f: maint: Fix PSON order dependency in test (authored by Max Martin <max@puppetlabs.com>).Apr 19 2011, 11:11 PM