/wheels/tests/model/_query/maxrows.cfc
http://cfwheels.googlecode.com/ · ColdFusion CFScript · 12 lines · 9 code · 3 blank · 0 comment · 0 complexity · e661083359fcb1a4a20b4b4e845c7cb0 MD5 · raw file
- <cfcomponent extends="wheelsMapping.Test">
-
- <cffunction name="setup">
- <cfset loc.profileModel = model("profile")>
- </cffunction>
-
- <cffunction name="test_set_max_rows">
- <cfset loc.profileModel.maxRows(10)>
- <cfset assert('loc.profileModel.toQuery().maxRows eq 10')>
- </cffunction>
-
- </cfcomponent>