diff --git a/test/internet.unit.js b/test/internet.unit.js index 0c9bbd304..a554cea03 100644 --- a/test/internet.unit.js +++ b/test/internet.unit.js @@ -159,6 +159,14 @@ describe("internet.js", function () { var ua = faker.internet.userAgent(); assert.ok(ua); }); + + it('is deterministic', function () { + faker.seed(1); + var ua1 = faker.internet.userAgent(); + faker.seed(1); + var ua2 = faker.internet.userAgent(); + assert.equal(ua1, ua2); + }); }); describe("color()", function () {