Deprecate :rack_test
This commit is contained in:
parent
a5a91b32e9
commit
f2882ef8b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue