diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-10-28 14:30:02 -0700 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-10-28 14:30:02 -0700 |
commit | 2c98db60a6a667663745b4e0f5f7ad70c15fc364 (patch) | |
tree | 993aea344b546fedfa8968d76d0333c712b79575 /lib/puppet/util/rdoc/code_objects.rb | |
parent | 0eb64776351bdf56910a0ef7802b5917ce29cabf (diff) | |
download | puppet-2c98db60a6a667663745b4e0f5f7ad70c15fc364.tar.gz puppet-2c98db60a6a667663745b4e0f5f7ad70c15fc364.tar.xz puppet-2c98db60a6a667663745b4e0f5f7ad70c15fc364.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