Class: FactoryGirl::Strategy::AttributesFor
- Inherits:
-
FactoryGirl::Strategy
- Object
- FactoryGirl::Strategy
- FactoryGirl::Strategy::AttributesFor
- Defined in:
- lib/factory_girl/strategy/attributes_for.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from FactoryGirl::Strategy
Instance Method Details
#association(runner) ⇒ Object
4 5 6 |
# File 'lib/factory_girl/strategy/attributes_for.rb', line 4 def association(runner) runner.run(Strategy::Null) end |
#result(attribute_assigner, to_create) ⇒ Object
8 9 10 |
# File 'lib/factory_girl/strategy/attributes_for.rb', line 8 def result(attribute_assigner, to_create) attribute_assigner.hash end |