File tree 6 files changed +3735
-8
lines changed
Pod/Tests/Specs/Generators
6 files changed +3735
-8
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,13 @@ class AddressSpec: QuickSpec {
120
120
expect ( state) . to ( equal ( " California " ) )
121
121
}
122
122
}
123
+
124
+ describe ( " #county " ) {
125
+ it ( " returns the correct text " ) {
126
+ let country = address. county ( )
127
+ expect ( country) . to ( equal ( " Autauga County " ) )
128
+ }
129
+ }
123
130
124
131
describe ( " #country " ) {
125
132
it ( " returns the correct text " ) {
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ faker.address.citySuffix() //=> "town"
67
67
faker.address .cityPrefix () // => "North"
68
68
faker.address .stateAbbreviation () // => "CA"
69
69
faker.address .state () // => "California"
70
+ faker.address .county () // => "Autauga County"
70
71
faker.address .country () // => "United States of America"
71
72
faker.address .countryCode () // => "US"
72
73
faker.address .latitude () // => -58.17256227443719
Original file line number Diff line number Diff line change 5
5
"address" : {
6
6
"city_prefix" : [" North" ],
7
7
"city_suffix" : [" town" ],
8
+ "county" : [" Autauga County" ],
8
9
"country" : [" United States of America" ],
9
10
"country_code" : [" US" ],
10
11
"building_number" : [" #####" ],
You can’t perform that action at this time.
0 commit comments