class FactoryGirlStepHelpers::HumanHashToAttributeHash::FindAttributes
Public Class Methods
new(human_hash_to_attributes_hash, key, value)
click to toggle source
Calls superclass method
FactoryGirlStepHelpers::HumanHashToAttributeHash::AttributeStrategy.new
# File lib/factory_girl/step_definitions.rb, line 73 def initialize(human_hash_to_attributes_hash, key, value) super if association_manager.association @key = "#{@key}_id" @value = association_manager.association_instance.try(:id) end end