HomePhorge

(#5148) Fix failing spec due to timezone
2c98db60a6a6Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5148) Fix failing spec due to timezone

Time.parse(...) will yield a string in the local timezone. So when
this spec was run in a non -0700 timezone, it was failing, because
it was comparing a string in local time to a string in -0700. This
fixes it to compare to the local string representation of the time.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0eb64776351b: Merge branch 'feature/next/5148' into next
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU2c98db60a6a6: (#5148) Fix failing spec due to timezone (authored by Nick Lewis <nick@puppetlabs.com>).Oct 28 2010, 11:30 PM