diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/internet.unit.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/internet.unit.js b/test/internet.unit.js index 59af887a..97502e51 100644 --- a/test/internet.unit.js +++ b/test/internet.unit.js @@ -83,6 +83,13 @@ describe("internet.js", function () { }); }); + describe("userAgent()", function () { + it("returns a valid user-agent", function () { + var ua = faker.Internet.userAgent(); + assert.ok(ua); + }); + }); + describe("color()", function () { it("returns a valid hex value (like #ffffff)", function () { var color = faker.Internet.color(100, 100, 100); |
