You probably want fixture scenarios.
http://errtheblog.com/posts/61-fixin-fixtures


On Mon, Apr 7, 2008 at 6:22 PM, bhus <[EMAIL PROTECTED]>
wrote:

>
> Thanks for your response Andrew.
>
> I should have been more specific in my question : my reason for
> wanting this is so I can have a few different fixture files for the
> SAME model : it seems I can't have fixtures for the same model in the
> same directory.
>
> [ I have a few "count" methods that I want to make sure are working
> correctly in different circumstances (eg. depending on what type of
> user is making the call) ]
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to