lib/capybara/poltergeist/browser.rb in poltergeist-0.3.0 vs lib/capybara/poltergeist/browser.rb in poltergeist-0.4.0

- old
+ new

@@ -7,10 +7,10 @@ DEFAULT_TIMEOUT = 30 def initialize(options = {}) @options = options @server = Server.new(options.fetch(:timeout, DEFAULT_TIMEOUT)) - @client = Client.new(server.port, options[:phantomjs]) + @client = Client.start(server.port, options[:phantomjs]) end def timeout server.timeout end