Class: Gonzales::Adapter::Unregistered

Inherits:
Object
  • Object
show all
Defined in:
lib/gonzales/adapter/unregistered.rb

Overview

Gonzales::Adapter::Unregistered

Class Method Summary collapse

Class Method Details

.create(factory_name, *options) ⇒ Object

Facitity to instantiate factories in database during db:test. The record will not be registered in the collection when created.



32
33
34
# File 'lib/gonzales/adapter/unregistered.rb', line 32

def self.create(factory_name, *options)
  Factory.create(factory_name, *options)
end