]> git.openstreetmap.org Git - rails.git/blob - test/application_system_test_case.rb
Small comment fix
[rails.git] / test / application_system_test_case.rb
1 require "test_helper"
2 require "capybara/poltergeist"
3
4 WebMock.disable_net_connect!(:allow_localhost => true)
5
6 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
7   driven_by :poltergeist, :screen_size => [1400, 1400]
8
9   def initialize(*args)
10     stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")
11       .to_return(:status => 404)
12     super(*args)
13   end
14 end