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

/wheels/tests/model/_query/perpage.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | d76a1ebda97e79a202d0ab6bf9025dbd MD5 | raw file
Possible License(s): Apache-2.0, CPL-1.0
 1<cfcomponent extends="wheelsMapping.Test">
 2
 3	<cffunction name="setup">
 4		<cfset loc.profileModel = model("profile")>
 5	</cffunction>
 6
 7	<cffunction name="test_set_perpage">
 8		<cfset loc.profileModel.perPage(10)>
 9		<cfset assert('loc.profileModel.toQuery().perpage eq 10')>
10	</cffunction>
11
12</cfcomponent>