X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/99ccffe4a9c0521d1202c4f0f1a37f8ef2dc0634..5575f5949cc01e40698e526efcbc811a8375ccec:/test/controllers/notes_controller_test.rb diff --git a/test/controllers/notes_controller_test.rb b/test/controllers/notes_controller_test.rb index 2203dcb60..4b1d9f4ad 100644 --- a/test/controllers/notes_controller_test.rb +++ b/test/controllers/notes_controller_test.rb @@ -3,6 +3,12 @@ require "test_helper" class NotesControllerTest < ActionController::TestCase fixtures :users, :user_roles + def setup + # Stub nominatim response for note locations + stub_request(:get, %r{^http://nominatim\.openstreetmap\.org/reverse\?}) + .to_return(:status => 404) + end + ## # test all routes which lead to this controller def test_routes