X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7be823bb11ad2aa93ffd4d85cc7f11469a867fa2..1e0bdda2f5ea1c8d401c7c92ac32acf2f9625ac2:/test/unit/message_test.rb?ds=sidebyside diff --git a/test/unit/message_test.rb b/test/unit/message_test.rb index 863b1a4f2..260852aea 100644 --- a/test/unit/message_test.rb +++ b/test/unit/message_test.rb @@ -23,14 +23,14 @@ class MessageTest < ActiveSupport::TestCase end def test_validating_msgs - message = messages(:one) + message = messages(:unread_message) assert message.valid? - massage = messages(:two) + massage = messages(:read_message) assert message.valid? end def test_invalid_send_recipient - message = messages(:one) + message = messages(:unread_message) message.sender = nil message.recipient = nil assert !message.valid? @@ -184,7 +184,7 @@ class MessageTest < ActiveSupport::TestCase private def make_message(char, count) - message = messages(:one) + message = messages(:unread_message) message.title = char * count return message end