From 6dfb02184b98717782472faf1e8488e3c5c08876 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Sun, 8 Jan 2012 22:51:25 +0900 Subject: [PATCH] suppress a warning: lib/capybara.rb:192: warning: instance variable @default_driver not initialized --- lib/capybara.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/capybara.rb b/lib/capybara.rb index bf3cf327..539226cb 100644 --- a/lib/capybara.rb +++ b/lib/capybara.rb @@ -298,6 +298,7 @@ module Capybara end end + self.default_driver = nil autoload :DSL, 'capybara/dsl' autoload :Server, 'capybara/server' autoload :Session, 'capybara/session'