HomePhorge

Simplify a YAML report test to work with Ruby 1.9
62d11401b186Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Simplify a YAML report test to work with Ruby 1.9

The order of invocation of local method definition and the parent inherited
hook changed between 1.8 and 1.9, resulting in the hack that works around a
development check in this test stopping working.

None of that ceremony is actually needed, though, since we can totally just
use an instance of the actual class we are testing.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa71208ba651d: Ruby 1.9.3 has a different error when `require` fails.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU62d11401b186: Simplify a YAML report test to work with Ruby 1.9 (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM