lib/capybara/poltergeist.rb in poltergeist-0.1.0 vs lib/capybara/poltergeist.rb in poltergeist-0.2.0
- old
+ new
@@ -7,12 +7,10 @@
autoload :Node, 'capybara/poltergeist/node'
autoload :ServerManager, 'capybara/poltergeist/server_manager'
autoload :Server, 'capybara/poltergeist/server'
autoload :Client, 'capybara/poltergeist/client'
- autoload :Error, 'capybara/poltergeist/errors'
- autoload :BrowserError, 'capybara/poltergeist/errors'
- autoload :ObsoleteNode, 'capybara/poltergeist/errors'
+ require 'capybara/poltergeist/errors'
end
end
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app)