I need to increase the length of the timeout in Poltergeist. The poltergeist documentation says I need to put this code in my test setup
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, options)
end
I am new to testing I am not sure where the test setup. I am using Rpsec and Capybara. Could somebody help out please?