PageRenderTime 283ms CodeModel.GetById 141ms app.highlight 0ms RepoModel.GetById 141ms app.codeStats 0ms

/wheels/tests/model/_query/page.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | b03227c2ac60ac32340565690c0cf3fc MD5 | raw file
 1<cfcomponent extends="wheelsMapping.Test">
 2
 3	<cffunction name="setup">
 4		<cfset loc.profileModel = model("profile")>
 5	</cffunction>
 6
 7	<cffunction name="test_set_page">
 8		<cfset loc.profileModel.page(1)>
 9		<cfset assert('loc.profileModel.toQuery().page eq 1')>
10	</cffunction>
11
12</cfcomponent>