Commit graph

12 commits

Author SHA1 Message Date
Tom Hughes
3d55db46ed Avoid use of deprecated methods on error objects 2011-11-14 09:42:45 +00:00
Tom Hughes
2f3e23f6eb Move to version 2.3.2 of rails. 2009-06-04 08:08:24 +00:00
Matt Amos
f492a1b709 Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded. 2009-03-28 20:18:26 +00:00
Matt Amos
9f3a4a5e01 Better error message and test for invalid UTF-8 sequences. 2008-10-29 15:33:23 +00:00
Andy Allan
38f4e17865 message title shouldn't accept invalid utf-8 sequences - test currently fails 2008-10-28 18:34:05 +00:00
Andy Allan
25c3310be4 Checking foreign key constraints on message recipients and senders 2008-10-15 15:23:56 +00:00
Andy Allan
2939aa9398 utf-8 wide-char testing of message title - this will come in useful for other things e.g. k/v pairs 2008-10-15 13:17:10 +00:00
Shaun McDonald
1bcc2242c0 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. 2008-07-18 16:44:14 +00:00
Shaun McDonald
a14419f04f Adding message tests. Adding some international UTF-8 chars for the display name and email address tests. 2008-07-18 16:26:21 +00:00
Shaun McDonald
98e11d164f Removing id's so that the ids are generated, and it makes it easier to deal with referential tests. Now have messages and users with basic tests. Using http://api.rubyonrails.com/classes/Fixtures.html. 2008-06-04 16:35:00 +00:00
Shaun McDonald
f58fb85e03 improved messages fixtures. Additional user fixture (for sending messages between the users). Checking that an empty message fails. 2008-06-04 06:48:49 +00:00
Nick Black
9c5c71f2d7 added user stuff inc beginning of messages 2007-05-04 19:42:17 +00:00