Module: FactoryGirlStepHelpers

Defined in:
lib/factory_girl/step_definitions.rb

Defined Under Namespace

Classes: HumanHashToAttributeHash

Instance Method Summary collapse

Instance Method Details

#convert_human_hash_to_attribute_hash(human_hash, associations = []) ⇒ Object



2
3
4
# File 'lib/factory_girl/step_definitions.rb', line 2

def convert_human_hash_to_attribute_hash(human_hash, associations = [])
  HumanHashToAttributeHash.new(human_hash, associations).attributes
end