diff options
| author | Jason Hong <[email protected]> | 2021-03-07 17:36:00 -0800 |
|---|---|---|
| committer | Jason Hong <[email protected]> | 2021-03-07 17:36:00 -0800 |
| commit | eb681348d5b5ac1fcafce3eacb78995f57407447 (patch) | |
| tree | cbace6ac00f0510e4230f06dcee47e387c1ee84c /test | |
| parent | 8af8242af098e970e684cc702dc3345c802f6b19 (diff) | |
| download | faker-eb681348d5b5ac1fcafce3eacb78995f57407447.tar.xz faker-eb681348d5b5ac1fcafce3eacb78995f57407447.zip | |
fix bicycleType to bicycle
Diffstat (limited to 'test')
| -rw-r--r-- | test/vehicle.unit.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/vehicle.unit.js b/test/vehicle.unit.js index d5acadf7..80504581 100644 --- a/test/vehicle.unit.js +++ b/test/vehicle.unit.js @@ -72,13 +72,13 @@ describe("vehicle.js", function () { }); }); - describe("bicycleType()", function () { + describe("bicycle()", function () { it("returns a random type of bicycle", function () { - sinon.stub(faker.vehicle, 'bicycleType').returns('Adventure Road Bicycle'); - var bicycleType = faker.vehicle.bicycleType(); + sinon.stub(faker.vehicle, 'bicycle').returns('Adventure Road Bicycle'); + var bicycle = faker.vehicle.bicycle(); - assert.equal(bicycleType, 'Adventure Road Bicycle'); - faker.vehicle.bicycleType.restore(); + assert.equal(bicycle, 'Adventure Road Bicycle'); + faker.vehicle.bicycle.restore(); }); }); }); |
