machinist Questions

3

Is there some configuration in a factory of factory girl/machinist that forces it to create objects with the same factory name just once during test case and return the same instance all the time? ...
Schoolbook asked 30/11, 2010 at 19:48

5

I want to write an rails integration test (with ActionDispatch::IntegrationTest). I am using devise for authentication and machinist for test models. I cannot successfully sign in. Here is a simpl...
Errantry asked 27/11, 2010 at 17:20

3

Solved

If I want to create and instance using "create" build strategy and then want to use "attributes_for" build strategy for verification, is it possible to do? And if I use sequences in the factory? Is...
Frederickfredericka asked 30/11, 2010 at 19:52

1

Solved

This morning I am having the following error: 14) Deal on creation sets frozen to false or nil Failure/Error: Unable to find matching line from backtrace Errno::EMFILE: Too many open files - i...
Chime asked 29/2, 2012 at 12:43

4

Solved

I'm getting some weird validation behavior: it's duplicating my validation error messages and I can't figure out what's causing it... it doesn't do this in the rails console. Here is the validatio...
Inviting asked 23/9, 2011 at 19:31

3

Solved

I'm working with factory_girl, but looking at the machinist gem. Could you tell me please - what are the pros and cons of migrating to machinist? Have you compared those libs?
Jessalyn asked 25/1, 2010 at 9:46
1

© 2022 - 2024 — McMap. All rights reserved.