Deprecate :rack_test
This commit is contained in:
parent
a5a91b32e9
commit
f2882ef8b2
@ -20,6 +20,10 @@ module Webrat
|
|||||||
MerbSession
|
MerbSession
|
||||||
when :rack
|
when :rack
|
||||||
RackSession
|
RackSession
|
||||||
|
when :rack_test
|
||||||
|
warn("The :rack_test mode is deprecated. Please use :rack instead")
|
||||||
|
require "webrat/rack"
|
||||||
|
RackSession
|
||||||
when :sinatra
|
when :sinatra
|
||||||
warn("The :sinatra mode is deprecated. Please use :rack instead")
|
warn("The :sinatra mode is deprecated. Please use :rack instead")
|
||||||
SinatraSession
|
SinatraSession
|
||||||
|
Loading…
Reference in New Issue
Block a user