X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4d91fe3dd95c1058cb8d24fd4c900223e30b9059..d74d4f8d195673250c3f2e841d28f185d74d8849:/test/functional/message_controller_test.rb?ds=sidebyside diff --git a/test/functional/message_controller_test.rb b/test/functional/message_controller_test.rb index 45190b714..d6b5671ac 100644 --- a/test/functional/message_controller_test.rb +++ b/test/functional/message_controller_test.rb @@ -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