projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70edc0
)
Fix another hostip stub
author
Tom Hughes
<tom@compton.nu>
Mon, 9 Jul 2018 19:36:41 +0000
(20:36 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 9 Jul 2018 19:36:41 +0000
(20:36 +0100)
test/application_system_test_case.rb
patch
|
blob
|
history
diff --git
a/test/application_system_test_case.rb
b/test/application_system_test_case.rb
index f39fc8d1d4e05b19e609297d3888af1208d91154..5b66f580ef800bd47d385ced1f1007d1653745cc 100644
(file)
--- a/
test/application_system_test_case.rb
+++ b/
test/application_system_test_case.rb
@@
-16,7
+16,7
@@
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :poltergeist, :screen_size => [1400, 1400]
def initialize(*args)
- stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")
+ stub_request(:get, "http
s
://api.hostip.info/country.php?ip=127.0.0.1")
.to_return(:status => 404)
super(*args)
end