test/support/view_handlers.rb in deas-0.27.0 vs test/support/view_handlers.rb in deas-0.28.0
- old
+ new
@@ -38,9 +38,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