]> git.openstreetmap.org Git - rails.git/commit
Increase allowed time delta in message sending test
authorTom Hughes <tom@compton.nu>
Sun, 30 Sep 2012 13:24:28 +0000 (14:24 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 30 Sep 2012 13:24:28 +0000 (14:24 +0100)
commitab3b4b0437427dce80efd0774c34ac40591c1e3d
treec009f3bb84834e7d400453bae37f676c885c95e9
parent05b4406c148c416edbbd3bfa161bf9a2e5e0863d
Increase allowed time delta in message sending test

Only allowing one second can fail sometimes, because if the actual
time is close to rolling over to the next second then the message
time will be rounded down but Time.now may roll over to the next
second before we get to the assertion.
test/functional/message_controller_test.rb