]> git.openstreetmap.org Git - rails.git/blobdiff - test/application_system_test_case.rb
Increase poltergeist timeout
[rails.git] / test / application_system_test_case.rb
index 60322763e133b329d8cfb4e23a018ba05b75cabb..96406b5a3c5fc58000e326ba0b16cdca17a09ecc 100644 (file)
@@ -11,7 +11,7 @@ ActiveSupport.on_load(:action_dispatch_system_test_case) do
 end
 
 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
-  driven_by :poltergeist, :screen_size => [1400, 1400]
+  driven_by :poltergeist, :screen_size => [1400, 1400], :options => { :timeout => 120 }
 
   def initialize(*args)
     stub_request(:get, "https://api.hostip.info/country.php?ip=127.0.0.1")