X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a46ecae7570abafcfe350d881f614db7159c5487..4b2d6436cee11c0b3d751ef15cace053e26fbf3d:/test/controllers/geocoder_controller_test.rb diff --git a/test/controllers/geocoder_controller_test.rb b/test/controllers/geocoder_controller_test.rb index 3f6e25ea6..f8a4eed19 100644 --- a/test/controllers/geocoder_controller_test.rb +++ b/test/controllers/geocoder_controller_test.rb @@ -1,5 +1,4 @@ require "test_helper" -require "geocoder_controller" class GeocoderControllerTest < ActionController::TestCase ## @@ -237,9 +236,9 @@ class GeocoderControllerTest < ActionController::TestCase ## # Test identification of US zipcodes def test_identify_us_postcode - [ - "12345", - "12345-6789" + %w[ + 12345 + 12345-6789 ].each do |code| post :search, :params => { :query => code } assert_response :success