Tom Hughes
|
a949f98ced
|
Apparently asin now throws Math::DomainError instead of Errno::EDOM
|
2014-02-20 09:12:41 +00:00 |
|
Tom Hughes
|
75795125ad
|
Remove deprecated assert_blank and assert_present from tests
|
2013-09-21 12:03:53 +01:00 |
|
Tom Hughes
|
f0feca800d
|
Replace attr_accessible with strong parameters
|
2013-09-21 11:35:46 +01:00 |
|
Tom Hughes
|
1234561a78
|
The ActiveRecord exists? method may not return an explicit true/false
https://github.com/rails/rails/issues/10062
|
2013-07-09 18:26:54 +01:00 |
|
Tom Hughes
|
e4be816ca0
|
Don't allow hash signs in usernames
|
2012-07-23 12:59:50 +01:00 |
|
Tom Hughes
|
9813d9f1e4
|
Get all the tests passing under ruby 1.9
|
2012-05-27 13:51:25 +01:00 |
|
Tom Hughes
|
38a610fd31
|
Add functional tests for the user_roles controller
|
2012-03-20 17:21:13 +00:00 |
|
Tom Hughes
|
e1d873cde9
|
Add functional tests for user blocks
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for user blocks.
|
2012-03-19 11:26:02 +00:00 |
|
Tom Hughes
|
e3152ea1c7
|
Add some more unit tests for users
|
2012-03-07 16:44:58 +00:00 |
|
Tom Hughes
|
1340fca8f1
|
Turn on mass assignment protection
Require any attribute that is going to be mass assigned to be
whitelisted, and whitelist those attributes which need it
|
2012-03-06 08:54:45 +00:00 |
|
Tom Hughes
|
feef62b1cc
|
Do validation in the :save context when testing email address validations
|
2011-11-14 09:42:46 +00:00 |
|
Tom Hughes
|
3d55db46ed
|
Avoid use of deprecated methods on error objects
|
2011-11-14 09:42:45 +00:00 |
|
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 |
|