test/support/routes.rb in deas-0.37.1 vs test/support/routes.rb in deas-0.38.0
- old
+ new
@@ -10,10 +10,10 @@
set :a_setting, 'something'
error do |exception, context|
case exception
- when Sinatra::NotFound
+ when Deas::NotFound
[404, "Couldn't be found"]
when Exception
[500, "Oops, something went wrong"]
end
end