test/test_address_us.rb in ffaker-1.25.0 vs test/test_address_us.rb in ffaker-1.30.0
- old
+ new
@@ -13,9 +13,17 @@
def test_us_state_and_territories_abbr
assert_match /[A-Z]/, Faker::AddressUS.state_and_territories_abbr
end
+ def test_us_continental_state
+ assert_match /[ a-z]/, Faker::AddressUS.continental_state
+ end
+
+ def test_us_continental_state_abbr
+ assert_match /[A-Z]/, Faker::AddressUS.continental_state_abbr
+ end
+
def test_zip_code
assert_match /[0-9]/, Faker::AddressUS.zip_code
end
def test_zip_code_frozen