Sometimes you may want to test some Sinatra app methods in isolation (outside of a standard request flow). You probably even tried to do something like this: Unfortunately you will end up with error like this: This will occur, because Sinatra’s App new method creates a Sinatra::Wrapper, not an App instance. Of course everything will […]

Read more at the source