test/support/view_handlers.rb in deas-0.4.0 vs test/support/view_handlers.rb in deas-0.4.1
- old
+ new
@@ -3,9 +3,17 @@
class TestViewHandler
include Deas::ViewHandler
end
+class RenderViewHandler
+ include Deas::ViewHandler
+
+ def run!
+ render "my_template", :some => :option
+ end
+end
+
class FlagViewHandler
include Deas::ViewHandler
before{ @before_hook_called = true }
after{ @after_hook_called = true }
layout 'web'