[LRUG] Cucumber and mass assignment whitelisting
Roland Swingler
roland.swingler at gmail.com
Tue Feb 16 01:27:21 PST 2010
IIRC machinist doesn't use mass assignment to create objects either
(basically loops over the hash keys calling send on the new object).
Roland
On Tue, Feb 16, 2010 at 9:07 AM, Tom Stuart <tom at experthuman.com> wrote:
> Hi Jay,
>
> On 16 Feb 2010, at 08:48, Jay Caines-Gooby wrote:
>> my tests fail horribly, because cucumber, machinist et al are using
>> mass assignment to create the test objects.
>> Is there a way to make the two play nicely together?
>
> Unhelpful remark: Factory Girl doesn't have this problem, because it doesn't use mass assignment. Also, it is awesome.
>
> Cheers,
> -Tom
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
More information about the Chat
mailing list