- updated minitest to 5.0
- Removed Test::Unit::TestCase and started using Minitest::Test instead
- Fixed usage of assert_raise
- Fixed usage of refute_nil
- Fixed and removed usage of assert_nothing_raised
Example:
module Sinatra
module RouteAddedExtSample
def self.route_added(verb, path)
p [verb, path]
end
end
register RouteAddedExtSample
end
post '/' do
do_something
'ok'
end
Output:
["POST", "/"]
move superclass logic into extensions attr reader