Method: Factory.attributes_for
- Defined in:
- lib/mini_factory.rb
.attributes_for(name, attributes = {}) ⇒ Object
8 9 10 |
# File 'lib/mini_factory.rb', line 8 def self.attributes_for(name, attributes = {}) @@factories[name.to_sym].merge(attributes) end |