test/support/routes.rb in deas-0.11.0 vs test/support/routes.rb in deas-0.12.0

- old
+ new

@@ -33,9 +33,26 @@ redirect :get, '/route_redirect', '/somewhere' redirect(:get, '/:prefix/redirect'){ "/#{params['prefix']}/somewhere" } end +class DeasDevServer + include Deas::Server + + # this server mimics a server in a "development" mode, that is, it has + # show_exceptions set to true + + root TEST_SUPPORT_ROOT + + logger TEST_LOGGER + verbose_logging true + + show_exceptions true + + get '/error', 'ErrorHandler' + +end + class ShowHandler include Deas::ViewHandler attr_reader :message