lib/factory_boy.rb
# name can be :user or User, there could also be passed
# class option
name can be :user or User, there could also be passed
class option
name can be : user or User there could also be passed class option
def build(name, attributes = {})
      (factory = factories[normalize_name(name)]) || raise(FactoryNotFound)
      build_object(factory, attributes)
    end
def build ( name , attributes = { } ) ( factory = factories [ normalize_name ( name ) ] ) || raise ( FactoryNotFound ) build_object ( factory , attributes ) end
name can be :user or User, there could also be passed
class option
name can be : user or User there could also be passed class option
name
<not_specific>
attributes
<not_specific>