Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sinatra now provides sensible options for testing
In the lastest release, 0.9.1: * Set sensible defaults on Default for test env [1] http://github.com/sinatra/sinatra/commit/5a33a9586f6d3aa959ee7b3f4f7f0831476dcaa5 * Set :environment to :test in TestHarness http://github.com/sinatra/sinatra/commit/9af37724e0fa5413c9a089024526ace6f82b7ab9 * Set :environment to :test when Sinatra::Test is included http://github.com/sinatra/sinatra/commit/93b19a34927a21880523d3301b51d1dc2aad6538 [1] Only Sinatra::Default provides special options for testing. If you subclass Sinatra::Base, you'll have to set them yourself. foo
- Loading branch information