/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
- <cfcomponent extends="wheelsMapping.Test">
-
- <cffunction name="setup">
- <cfset loc.profileModel = model("profile")>
- </cffunction>
-
- <cffunction name="test_set_page">
- <cfset loc.profileModel.page(1)>
- <cfset assert('loc.profileModel.toQuery().page eq 1')>
- </cffunction>
-
- </cfcomponent>