[LRUG] Test does not load many to many fixture
rtacconi at gmail.com
Wed Feb 10 08:08:10 PST 2010
Yes it works :-)
I had a look at factory_girl and I will try it... in the next project.
On Wed, Feb 10, 2010 at 3:43 PM, Anthony Green <Anthony.Green at bbc.co.uk> wrote:
> As you say it appears Rails opinion is that you're not supposed to use
> but use Foxy Fixtures instead
> roles: admin, editor
>> Rails > 2.2 does not load HABTM fixtures. They can specify as:
>> roles: admin, editor
>> roles: basic
>> However I was able to force roles_users.yml with:
>> ENV['FIXTURES'] ||= 'roles_users'
> Anthony Green
> This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> Chat mailing list
> Chat at lists.lrug.org
Web developer at Wolseley UK
VIRTUELOGIC LIMITED (Director)
Linux user: #400461
More information about the Chat