PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 3	<cffunction name="test_associate_with_a_single_key_from_the_composite">
 4		<cfset loc.shops = model("shop").findone(
 5				include="city"
 6			)>
 7		<cfset assert("IsObject(loc.shops)")>
 8	</cffunction>
 9
10</cfcomponent>