/wheels/tests/controller/rendering/setupAndTeardown.cfm

http://cfwheels.googlecode.com/ · ColdFusion · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · b0a8489eb92887b722054969b0c75034 MD5 · raw file

  1. <cffunction name="setup">
  2. <cfset $$oldViewPath = application.wheels.viewPath>
  3. <cfset application.wheels.viewPath = "wheels/tests/_assets/views">
  4. </cffunction>
  5. <cffunction name="teardown">
  6. <cfset application.wheels.viewPath = $$oldViewPath>
  7. </cffunction>