def given_a(factory_name, args = {})
      Given "a #{factory_name} #{humanize args}" do
        args.each do |key, value|
          if value.is_a? Symbol
            instance_var_named_value = instance_variable_get("@#{value}")
            args[key] = instance_var_named_value if instance_var_named_value
          end
        end
        model = Factory(factory_name.to_sym, args)
        instance_variable_set("@#{factory_name}", model)
      end
    end
def given_a(factory_name, args = {})
      Given "a #{factory_name} #{humanize args}" do
        args.each do |key, value|
          if value.is_a? Symbol
            instance_var_named_value = instance_variable_get("@#{value}")
            args[key] = instance_var_named_value if instance_var_named_value
          end
        end
        model = Factory(factory_name.to_sym, args)
        instance_variable_set("@#{factory_name}", model)
      end
    end
Creates an object using a factory_girl factory and creates a Given step that reads like
 "Given a gi_joe with a name of 'Blowtorch' and habit of 'swearing'"
 @param factory_name A Symbol or String for the name of the factory_girl factory to use
 @param args Arguments to supply to the *factory_name* factory_girl factory