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

/wheels/tests/controller/rendering/rendertext.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | 8e985e2e91325768a75e2465879a4844 MD5 | raw file
 1<cfcomponent extends="wheelsMapping.Test">
 2
 3	<cfinclude template="setupAndTeardown.cfm">
 4
 5	<cfset params = {controller="dummy", action="dummy"}>
 6	<cfset loc.controller = controller("dummy", params)>
 7
 8	<cffunction name="test_render_text">
 9		<cfset loc.controller.renderText("OMG, look what I rendered!")>
10		<cfset assert("loc.controller.response() IS 'OMG, look what I rendered!'")>
11	</cffunction>
12
13</cfcomponent>