test/support/view_handlers.rb in deas-0.23.4 vs test/support/view_handlers.rb in deas-0.24.0
- old
+ new
@@ -22,9 +22,17 @@
def run!
render "my_template", :some => :option
end
end
+class PartialViewHandler
+ include Deas::ViewHandler
+
+ def run!
+ partial "my_partial", :some => 'locals'
+ end
+end
+
class SendFileViewHandler
include Deas::ViewHandler
def run!
send_file "my_file.txt", :some => :option