Skip to content
Snippets Groups Projects
Commit ea69f1a1 authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge pull request #620 from sunlightlabs/test-zipcode-result

test that :smarty_streets interprets zipcode results
parents f1d21b44 e217a500
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ class SmartyStreetsTest < GeocoderTestCase
assert_equal "1703", result.zip4
assert_equal "New York", result.city
assert_equal "36061", result.fips
assert !result.zipcode_result?
end
def test_smarty_streets_result_components_with_zipcode_only_query
......@@ -44,6 +45,7 @@ class SmartyStreetsTest < GeocoderTestCase
assert_equal "Brooklyn", result.city
assert_equal "New York", result.state
assert_equal "NY", result.state_code
assert result.zipcode_result?
end
def test_no_results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment