diff options
| author | hukl <contact@smyck.org> | 2009-10-07 21:03:28 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-07 21:03:28 +0200 |
| commit | 9dadc61cae2c4c01a97880e89ca86a0e760fc8d1 (patch) | |
| tree | 4c50bccc0339429d669a04e5dc3f2e735dfcb515 /test/test_helper.rb | |
| parent | a57fb0c2084885c35b7ba89917c37696e5df3b3f (diff) | |
implemented complete restful user management interface including functional tests. this enables basic user operation. note that only admins are allowed to create, edit, destroy other users
Diffstat (limited to 'test/test_helper.rb')
| -rw-r--r-- | test/test_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index b9fe251..21d4604 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb | |||
| @@ -3,6 +3,9 @@ require File.expand_path(File.dirname(__FILE__) + "/../config/environment") | |||
| 3 | require 'test_help' | 3 | require 'test_help' |
| 4 | 4 | ||
| 5 | class ActiveSupport::TestCase | 5 | class ActiveSupport::TestCase |
| 6 | |||
| 7 | include AuthenticatedTestHelper | ||
| 8 | |||
| 6 | # Transactional fixtures accelerate your tests by wrapping each test method | 9 | # Transactional fixtures accelerate your tests by wrapping each test method |
| 7 | # in a transaction that's rolled back on completion. This ensures that the | 10 | # in a transaction that's rolled back on completion. This ensures that the |
| 8 | # test database remains unchanged so your fixtures don't have to be reloaded | 11 | # test database remains unchanged so your fixtures don't have to be reloaded |
