Skip to content

Commit 90b84b1

Browse files
committed
Update README + Refactor test using US county value
1 parent 142cbe0 commit 90b84b1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Pod/Tests/Specs/Generators/AddressSpec.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class AddressSpec: QuickSpec {
124124
describe("#county") {
125125
it("returns the correct text") {
126126
let country = address.county()
127-
expect(country).to(equal("Gironde"))
127+
expect(country).to(equal("Autauga County"))
128128
}
129129
}
130130

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-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"address": {
66
"city_prefix": ["North"],
77
"city_suffix": ["town"],
8-
"county": ["Gironde"],
8+
"county": ["Autauga County"],
99
"country": ["United States of America"],
1010
"country_code": ["US"],
1111
"building_number": ["#####"],

0 commit comments

Comments
 (0)