Skip to content

Commit

Permalink
Update README + Refactor test using US county value
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgriffie committed Jun 30, 2016
1 parent 142cbe0 commit 90b84b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pod/Tests/Specs/Generators/AddressSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class AddressSpec: QuickSpec {
describe("#county") {
it("returns the correct text") {
let country = address.county()
expect(country).to(equal("Gironde"))
expect(country).to(equal("Autauga County"))
}
}

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ faker.address.citySuffix() //=> "town"
faker.address.cityPrefix() //=> "North"
faker.address.stateAbbreviation() //=> "CA"
faker.address.state() //=> "California"
faker.address.county() //=> "Autauga County"
faker.address.country() //=> "United States of America"
faker.address.countryCode() //=> "US"
faker.address.latitude() //=> -58.17256227443719
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locales/en-TEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"address": {
"city_prefix": ["North"],
"city_suffix": ["town"],
"county": ["Gironde"],
"county": ["Autauga County"],
"country": ["United States of America"],
"country_code": ["US"],
"building_number": ["#####"],
Expand Down

0 comments on commit 90b84b1

Please sign in to comment.