/wheels/tests/view/forms/fileField.cfc

http://cfwheels.googlecode.com/ · ColdFusion CFScript · 11 lines · 8 code · 3 blank · 0 comment · 0 complexity · 7194be26c3f2d7ac931962156ed02dfe MD5 · raw file

  1. <cfcomponent extends="wheelsMapping.Test">
  2. <cffunction name="setup">
  3. <cfset loc.controller = controller(name="ControllerWithModel")>
  4. </cffunction>
  5. <cffunction name="test_x_fileField_valid">
  6. <cfset loc.controller.fileField(objectName="user", property="firstname")>
  7. </cffunction>
  8. </cfcomponent>