Deprecate :rack_test

This commit is contained in:
Simon Rozet 2009-06-25 22:38:14 +02:00
parent a5a91b32e9
commit f2882ef8b2
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ module Webrat
MerbSession
when :rack
RackSession
when :rack_test
warn("The :rack_test mode is deprecated. Please use :rack instead")
require "webrat/rack"
RackSession
when :sinatra
warn("The :sinatra mode is deprecated. Please use :rack instead")
SinatraSession