]> git.openstreetmap.org Git - rails.git/commit
Make sure that there is a sender and a recipient of a message. New test to make sure...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 18 Jul 2008 16:44:14 +0000 (16:44 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 18 Jul 2008 16:44:14 +0000 (16:44 +0000)
commit1bcc2242c0a5bc58abb0ab23964d474af04923fa
treed0ba96332171ead0ba4b8f31da0d8b8885673522
parenta14419f04f0d010e271de9c4774c4a9bb33faaab
Make sure that there is a sender and a recipient of a message. New test to make sure that there a message also has a sender and a recipient, as the validates_associated doesn't do anything if they are nil.
app/models/message.rb
test/unit/message_test.rb