Changeset [90baf3311c582390522c30d434ac3afe7822cb69] by Simon Rozet
March 8th, 2009 @ 06:41 PM
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/sinatr...
-
Set :environment to :test in TestHarness http://github.com/sinatra/sinatr...
-
Set :environment to :test when Sinatra::Test is included http://github.com/sinatra/sinatr...
[1] Only Sinatra::Default provides special options for testing. If you subclass
Sinatra::Base, you'll have to set them yourself.
Committed by Simon Rozet
- M lib/webrat/sinatra.rb
- M spec/integration/sinatra/test/modular_app_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.