test/helper.rb in bmizerany-sinatra-0.8.9 vs test/helper.rb in bmizerany-sinatra-0.8.10

- old
+ new

@@ -16,5 +16,10 @@ # the application. def mock_app(base=Sinatra::Base, &block) @app = Sinatra.new(base, &block) end end + +class Sinatra::Base + # Allow assertions in request context + include Test::Unit::Assertions +end