On 21 Aug 2009, at 17:15, George Anderson wrote:
expected: Fri, 21 Aug 2009 16:08:51 UTC +00:00,
got: Fri, 21 Aug 2009 16:08:51 UTC +00:00 (using ==)
They're identical, no?
Not necessarily -- Time instances are microsecond precision, so two of
them can differ (in microseconds) but have the same string
representation (which only shows seconds). See what the #usec method
gives you for each of the times.
Cheers,
-Tom
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users