File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Available since version 1.6.4.
66Faker ::Vehicle .vin # => "LLDWXZLG77VK2LUUF"
77
88# Random vehicle manufacturer
9- Faker ::Vehicle .manufacture # => "Lamborghini"
9+ Faker ::Vehicle .manufacturer # => "Lamborghini"
1010
1111Faker ::Vehicle .make # => "Honda"
1212
Original file line number Diff line number Diff line change @@ -48,12 +48,13 @@ def vin
4848 # @return [String]
4949 #
5050 # @example
51- # Faker::Vehicle.manufacture #=> "Lamborghini"
51+ # Faker::Vehicle.manufacturer #=> "Lamborghini"
5252 #
5353 # @faker.version 1.6.4
54- def manufacture
55- fetch ( 'vehicle.manufacture ' )
54+ def manufacturer
55+ fetch ( 'vehicle.manufacturer ' )
5656 end
57+ alias manufacture manufacturer
5758
5859 ##
5960 # Produces a random vehicle make.
Original file line number Diff line number Diff line change 11en :
22 faker :
33 vehicle :
4- manufacture :
4+ manufacturer :
55 - Abarth
66 - Acura
77 - Aixam
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ def test_vin
2020 end
2121 end
2222
23- def test_manufacture
24- assert_match WORD_MATCH , @tester . manufacture
23+ def test_manufacturer
24+ assert_match WORD_MATCH , @tester . manufacturer
2525 end
2626
2727 def test_color
You can’t perform that action at this time.
0 commit comments