#36 new
Yi Wen

FactoryGirl adapter

Reported by Yi Wen | December 27th, 2010 @ 09:52 PM

The code in adapter.rb:116

Factory(@name, attrs)

When I have a factory that shared by unit tests and cucumber tests. I want to specify the factory default_strategy to :build, meaning, build, not create into the db. This breaks pickle because Factory(@name, attrs) will thus buil, not create the object.

Is it possible to change it to:

Factory.create(@name, attrs)

Thank you!

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Assign tickets to <b>Ian White</b>, so I get notified

People watching this ticket