test/support/routes.rb in deas-0.18.0 vs test/support/routes.rb in deas-0.19.0
- old
+ new
@@ -38,11 +38,11 @@
get '/with_haml_layout', 'WithHamlLayoutHandler'
get '/haml_with_haml_layout', 'HamlWithHamlLayoutHandler'
get '/handler/tests.json', 'HandlerTestsHandler'
- redirect :get, '/route_redirect', '/somewhere'
- redirect(:get, '/:prefix/redirect'){ "/#{params['prefix']}/somewhere" }
+ redirect '/route_redirect', '/somewhere'
+ redirect('/:prefix/redirect'){ "/#{params['prefix']}/somewhere" }
end
class DeasDevServer
include Deas::Server