Commit graph

21 commits

Author SHA1 Message Date
Matt Amos
cd66a5db99 Initial work on support for multiple editors 2010-11-29 12:20:21 +00:00
Tom Hughes
20cc601f85 Fix tests for changes to user model 2010-05-06 22:11:55 +01:00
Tom Hughes
0ec5e8f858 Move bogus addresses from the good set to the bad set - unicode email
addresses are not currently allowed by the email standards.
2010-02-25 21:22:42 +00:00
Tom Hughes
2f3e23f6eb Move to version 2.3.2 of rails. 2009-06-04 08:08:24 +00:00
Shaun McDonald
9156448ad6 fix the user unit test so that it doesn't use a depricated method in rails 2.2.2 2009-05-08 17:26:23 +00:00
Shaun McDonald
0dd0f1881d Fixing some of the tests, adding the new tests to make sure that you can't edit when your not a public user 2009-04-18 17:17:22 +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
Shaun McDonald
9a4ea6bfd0 Adding validations for the length of node tags, and the presence of the id (and version). More tests, including some boiler plate tests. 2008-11-17 18:53:09 +00:00
Shaun McDonald
6dfc83da03 fixing the test that was broken in the resync 2008-09-25 16:20:36 +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
411445075b some tweaking to the user fixtures so that there is 2 near each other. new users nearby and friends with tests. 2008-07-17 15:08:00 +00:00
Shaun McDonald
0c3f15f5aa new friends with test. Fix to the display name valid tests to make sure that they don't test the length 2008-07-17 11:18:33 +00:00
Shaun McDonald
b931d6f516 testing the display name 2008-07-17 10:44:06 +00:00
Shaun McDonald
9694b977d3 fixing the new display name test 2008-07-15 18:04:35 +00:00
Shaun McDonald
679e59210c Check to see if the e-mail test works 2008-07-15 17:51:26 +00:00
Shaun McDonald
8429c85051 Check to see if the e-mail test works 2008-07-15 16:36:43 +00:00
Shaun McDonald
cf78f3e6dd Can now run tests that use composite_primary_keys in the fixtures. Adding a new test to check that you can't add duplicate user preferences, and the display name of the user is guaranteed to be unique. 2008-07-15 15:51:45 +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
Shaun McDonald
c373220bd2 sort the default test database user and password.
Adding new test for the user
2008-06-02 11:00:09 +00:00
Tom Hughes
b13eb8824e Add some basic tests for nodes. 2007-07-24 22:58:16 +00:00