HomePhorge

(#6830) Fix badly stubbed Time object in test
893817f76313Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6830) Fix badly stubbed Time object in test

Ruby 1.9 won't allow to_i to be called on a symbol. It results in the
error:

undefined method `to_i' for :now:Symbol

Reviewed-by: Jesse Wolfe <jesse@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUade4efea6d2d: (#6830) Fix MD5 handling to work with Ruby 1.9
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPU893817f76313: (#6830) Fix badly stubbed Time object in test (authored by Matt Robinson <matt@puppetlabs.com>).Mar 29 2011, 8:00 PM