Class: Gonzales::Adapter::Registered
- Inherits:
-
Object
- Object
- Gonzales::Adapter::Registered
- Defined in:
- lib/gonzales/adapter/registered.rb
Overview
Gonzales::Adapters::Registered
Class Method Summary collapse
-
.create(factory_name, *options) ⇒ Object
Facitity to instantiate factories in database during db:test.
Class Method Details
.create(factory_name, *options) ⇒ Object
Facitity to instantiate factories in database during db:test. The record will be registered in the collection when created.
32 33 34 |
# File 'lib/gonzales/adapter/registered.rb', line 32 def self.create(factory_name, *) Gonzales::Factories.speedy(factory_name, *) end |