Skip to content

Commit

Permalink
id: add state_abbr (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekicot committed Nov 24, 2020
1 parent bd8ba8d commit aaf047c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/locales/id.yml
Expand Up @@ -20,6 +20,7 @@ id:
- "#{street_prefix} #{street_title}"
street_address:
- "#{street_name} No. #{building_number}"
state_abbr: [AC, BA, BT, BE, GO, JK, JA, JW, JB, JT, JI, KA, KB, KS, KT, KI, KU, BB, KR, LA, ML, MA, MU, NU, NB, NT, PP, PA, PB, RI, SL, SR, SN, ST, SG, SA, SM, SB, SS, SU, YO]
country_code: ['62']
phone_number:
formats: ['08##########', '08##-####-####', '8#########']
1 change: 1 addition & 0 deletions test/test_id_locale.rb
Expand Up @@ -19,6 +19,7 @@ def test_id_address_methods
assert Faker::Address.street_address.is_a? String
assert Faker::Address.building_number.is_a? String
assert Faker::Address.city_name.is_a? String
assert Faker::Address.state_abbr.is_a? String
assert Faker::Address.street_prefix.is_a? String
assert Faker::Address.street_title.is_a? String
assert Faker::Address.street_name.is_a? String
Expand Down

0 comments on commit aaf047c

Please sign in to comment.