From dfd9774fbe229a3f30b8fdc348a84671da210b6e Mon Sep 17 00:00:00 2001 From: Marak Date: Mon, 22 Sep 2014 11:20:46 +0200 Subject: [api] [minor] Added default values for more methods. Cleaned up image module. Use a less specific regex for usernames. --- test/image.unit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/image.unit.js b/test/image.unit.js index 663fc000..04bf3475 100644 --- a/test/image.unit.js +++ b/test/image.unit.js @@ -27,9 +27,9 @@ describe("image.js", function () { assert.notEqual(-1, faker.image.avatar().indexOf('s3.amazonaws.com/uifaces/faces')); }) }); - describe("abstractImage()", function () { + describe("abstract()", function () { it("returns a random abstract image url", function () { - var abstract = faker.image.abstractImage(); + var abstract = faker.image.abstract(); assert.equal(abstract, 'http://lorempixel.com/640/480/abstract'); }); }); -- cgit v1.2.3