fabrication-gem Questions
4
There seems to be few resources about the fabrication gem, and I couldn't find a good comparison of the features that distinguish it from factory_girl. As of versions fabrication-2.2.3 and factory_...
Loydloydie asked 29/8, 2012 at 13:29
1
I'm considering migrating many mocks from FactoryGirl over to the Fabrication gem.
However, so far I've been unable to find any information on implementing the trait pattern available in FactoryGi...
Tear asked 5/4, 2015 at 8:48
1
Solved
I'm using Ruby 2.1.1p76 and Rails 4.0.4 and the Fabrication gem.
Is it possible to refer to the object currently being fabricated?
I have a class Foo and a class Bar. I have fabricators for each....
Marine asked 6/4, 2014 at 17:34
2
I want to define Fabricator for class has namespace like 'Foo::Bar'.
Tell me the way it can work.
Here my codes.
models/foo.rb
class Foo
include Mongoid::Document
embedded_in :foo_container, p...
Vocable asked 30/1, 2013 at 8:44
1
Solved
I use Mongoid and Fabrication gems. I have switched to Mongoid.rc7 from beta20 and now I can't fabricate document with embedded document:
#Models
class User
include Mongoid::Document
embeds_many ...
Tunnage asked 21/2, 2011 at 17:44
1
© 2022 - 2024 — McMap. All rights reserved.