search for: suspended_us

Displaying 1 result from an estimated 1 matches for "suspended_us".

Did you mean: suspended_user
2008 Feb 11
6
Should I Test My Fixtures?
...example, with acts_as_authenticated and acts_as_state_machine, I created a number of users in different account states for use in functional testing. (Suspended users can not log in, etc) Is it a good idea to run fixtures through tests to ensure that they conform to their ideals? EG: assert users(:suspended_user).suspended? If so, where should these tests go? I currently have them in my unit tests. Regards, --Dean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group...