/wheels/tests/controller/rendering/setupAndTeardown.cfm
ColdFusion | 8 lines | 7 code | 1 blank | 0 comment | 0 complexity | b0a8489eb92887b722054969b0c75034 MD5 | raw file
Possible License(s): Apache-2.0, CPL-1.0
- <cffunction name="setup">
- <cfset $$oldViewPath = application.wheels.viewPath>
- <cfset application.wheels.viewPath = "wheels/tests/_assets/views">
- </cffunction>
-
- <cffunction name="teardown">
- <cfset application.wheels.viewPath = $$oldViewPath>
- </cffunction>