Parent

Methods

Included Modules

Files

Object

Public Instance Methods

Factory(name, attrs = {}) click to toggle source

Shortcut for Factory.default_strategy.

Example:

Factory(:user, :name => 'Joe')
# File lib/factory_girl.rb, line 19
def Factory (name, attrs = {})
  Factory.default_strategy(name, attrs)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.