faker
faker copied to clipboard
Fix: Pair country with country code
Motivation / Background
This Pull Request addresses the issue described in faker-ruby/faker#2881, since the address is not consistent, this fix will provide consistency between county and country_code.
Additional information
This is a first step forward towards generating consistent addresses
Checklist
Before submitting the PR make sure the following are checked:
- [x] This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
- [x] Commit message has a detailed description of what changed and why. Ex:
[Fix #2881] - [x] Tests are added or updated if you fix a bug, refactor something, or add a feature.
- [x] Tests and Rubocop are passing before submitting your proposed changes.
If you're proposing a new generator or locale:
- [x] Double-check the existing generators documentation to make sure the new generator you want to add doesn't already exist.
- [x] You've reviewed and followed the Contributing guidelines.