]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/message_controller_test.rb
Increase allowed time delta in message sending test
[rails.git] / test / functional / message_controller_test.rb
index 45190b714c29b0a34028a3eb42c3bc8a8d4380a2..d6b5671ac79e3c95b0111975077e2df7f694e4f3 100644 (file)
@@ -85,7 +85,7 @@ class MessageControllerTest < ActionController::TestCase
     m = Message.find(3)
     assert_equal users(:normal_user).id, m.from_user_id
     assert_equal users(:public_user).id, m.to_user_id
-    assert_in_delta Time.now, m.sent_on, 1
+    assert_in_delta Time.now, m.sent_on, 2
     assert_equal "Test Message", m.title
     assert_equal "Test message body", m.body
     assert_equal "markdown", m.body_format