/wheels/tests/model/associations/composite.cfc

http://cfwheels.googlecode.com/ · ColdFusion CFScript · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · 1abb51665da49ceb86b32a079b2703fc MD5 · raw file

  1. <cfcomponent extends="wheelsMapping.Test">
  2. <cffunction name="test_associate_with_a_single_key_from_the_composite">
  3. <cfset loc.shops = model("shop").findone(
  4. include="city"
  5. )>
  6. <cfset assert("IsObject(loc.shops)")>
  7. </cffunction>
  8. </cfcomponent>