test/unit/view_handler_tests.rb in deas-0.4.0 vs test/unit/view_handler_tests.rb in deas-0.4.1

- old
+ new

@@ -77,9 +77,15 @@ handler_class.layouts 'layouts/web', 'layouts/search' assert_equal [ 'layouts/web', 'layouts/search' ], handler_class.layouts end + should "be able to render templates" do + return_value = test_runner(RenderViewHandler).run + assert_equal "my_template", return_value[0] + assert_equal({ :some => :option }, return_value[1]) + end + end class WithMethodFlagsTests < BaseTests setup do @handler = test_runner(FlagViewHandler).handler