PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/wheels/tests/view/urls/pagination.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 1e6544c53765a736fda6bf6f0d777342 MD5 | raw file
 1<cfcomponent extends="wheelsMapping.Test">
 2
 3	<cffunction name="setup">
 4		<cfset loc.controller = controller(name="dummy")>
 5		<cfset loc.user = model("users")>
 6	</cffunction>
 7
 8	<cffunction name="test_x_pagination_valid">
 9		<cfset loc.e = loc.user.findAll(where="firstname = 'somemoron'", perpage="2", page="1", handle="pagination_test_1", order="id")>
10		<cfset loc.controller.pagination("pagination_test_1")>
11	</cffunction>
12
13</cfcomponent>