Redmine/test
Eric Davis 155083ec97 Change Role#anonymous and #non_member so they generate the record as needed.
While creating tests, it was a common occurrence to lost the builtin roles
because they are only created in the migrations.  This makes them behave like
User#anonymous.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-03 17:47:47 +00:00
..
exemplars Added and updated some more object daddy exemplars. 2010-01-28 19:05:21 +00:00
fixtures Adds a test with Japanese keywords in a ISO-2002-JP encoded email (#4576). 2010-01-17 11:00:54 +00:00
functional Converted a test to shoulda and added more checks for it's assignments. 2010-02-03 16:49:16 +00:00
integration Accept filters from API calls without set_filter parameter. 2010-01-18 19:53:06 +00:00
mocks Adding OpenID mock and test. #699 2009-02-11 19:07:18 +00:00
unit Change Role#anonymous and #non_member so they generate the record as needed. 2010-02-03 17:47:47 +00:00
helper_testcase.rb Upgraded to Rails 2.3.4 (#3597) 2009-09-13 17:14:35 +00:00
object_daddy_helpers.rb Added User.spawn_with_protected to generate an unsaved User record. 2010-01-23 16:50:41 +00:00
test_helper.rb Added some shoulda macros for testing. 2009-12-30 19:42:19 +00:00