diff options
| author | Marak <[email protected]> | 2014-09-22 11:20:46 +0200 |
|---|---|---|
| committer | Marak <[email protected]> | 2014-09-22 11:20:46 +0200 |
| commit | dfd9774fbe229a3f30b8fdc348a84671da210b6e (patch) | |
| tree | e706e1ea6356706bc73ec0574d5a1c49834b8967 /test/image.unit.js | |
| parent | e8cf78faedbce9a0ae23363c5fedc56e74173d8b (diff) | |
| download | faker-dfd9774fbe229a3f30b8fdc348a84671da210b6e.tar.xz faker-dfd9774fbe229a3f30b8fdc348a84671da210b6e.zip | |
[api] [minor] Added default values for more methods. Cleaned up image module. Use a less specific regex for usernames.
Diffstat (limited to 'test/image.unit.js')
| -rw-r--r-- | test/image.unit.js | 4 |
1 files changed, 2 insertions, 2 deletions
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'); }); }); |
