Skip to content

Commit 6edef67

Browse files
authored
Merge pull request #48 from Appsido/master
Add french country and iso country code
2 parents f1d9a57 + 90b84b1 commit 6edef67

File tree

6 files changed

+3735
-8
lines changed

6 files changed

+3735
-8
lines changed

Pod/Tests/Specs/Generators/AddressSpec.swift

+7
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ class AddressSpec: QuickSpec {
120120
expect(state).to(equal("California"))
121121
}
122122
}
123+
124+
describe("#county") {
125+
it("returns the correct text") {
126+
let country = address.county()
127+
expect(country).to(equal("Autauga County"))
128+
}
129+
}
123130

124131
describe("#country") {
125132
it("returns the correct text") {

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ faker.address.citySuffix() //=> "town"
6767
faker.address.cityPrefix() //=> "North"
6868
faker.address.stateAbbreviation() //=> "CA"
6969
faker.address.state() //=> "California"
70+
faker.address.county() //=> "Autauga County"
7071
faker.address.country() //=> "United States of America"
7172
faker.address.countryCode() //=> "US"
7273
faker.address.latitude() //=> -58.17256227443719

Resources/Locales/en-TEST.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"address": {
66
"city_prefix": ["North"],
77
"city_suffix": ["town"],
8+
"county": ["Autauga County"],
89
"country": ["United States of America"],
910
"country_code": ["US"],
1011
"building_number": ["#####"],

0 commit comments

Comments
 (0)