Introduce session_class method

This commit is contained in:
Bryan Helmkamp 2009-08-12 20:44:32 -04:00
parent a8c5af2b7a
commit 22a06000f9
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ module Webrat
class InfiniteRedirectError < WebratError
end
def self.session_class
Session
end
def self.adapter_class
case Webrat.configuration.mode
when :rails