Fix rubocop warnings

This commit is contained in:
Tom Hughes 2019-07-07 16:30:04 +01:00
parent d7f92e163e
commit 6f9b0c2f6b
2 changed files with 4 additions and 4 deletions

View file

@ -236,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