X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/48eb8eb3690851f7f26afc68e1524341fcb6c187..a0627ec0c651cf33426438e26e4a4a2fe3a34fd5:/test/controllers/diary_entry_controller_test.rb diff --git a/test/controllers/diary_entry_controller_test.rb b/test/controllers/diary_entry_controller_test.rb index 4a8451e89..5e53cb6b0 100644 --- a/test/controllers/diary_entry_controller_test.rb +++ b/test/controllers/diary_entry_controller_test.rb @@ -8,6 +8,9 @@ class DiaryEntryControllerTest < ActionController::TestCase def setup # Create the default language for diary entries create(:language, :code => "en") + # Stub nominatim response for diary entry locations + stub_request(:get, %r{^http://nominatim\.openstreetmap\.org/reverse\?}) + .to_return(:status => 404) end ##