diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-10-28 14:30:02 -0700 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2011-03-04 14:24:37 -0800 |
commit | e3aec14c2ede8ea9b6b1c1684755c715b9923295 (patch) | |
tree | 9389d07216b03947f9f353aa7bcbef5f2c8c76d1 /lib/puppet/util/rdoc/code_objects.rb | |
parent | 8bd80a99a259e6409a9ac0a8a60325f94b5c5e9d (diff) | |
download | puppet-e3aec14c2ede8ea9b6b1c1684755c715b9923295.tar.gz puppet-e3aec14c2ede8ea9b6b1c1684755c715b9923295.tar.xz puppet-e3aec14c2ede8ea9b6b1c1684755c715b9923295.zip |
(#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.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions