From 3eee796fdff9f4226e211f01cd5926d3d05d28ae Mon Sep 17 00:00:00 2001 From: FotoVerite Date: Sat, 17 May 2014 15:35:45 -0400 Subject: Moving to major new version for change of package name for uppercase to lowercase. --- test/all.functional.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/all.functional.js') diff --git a/test/all.functional.js b/test/all.functional.js index 91327214..145002f1 100644 --- a/test/all.functional.js +++ b/test/all.functional.js @@ -1,7 +1,7 @@ if (typeof module !== 'undefined') { var assert = require('assert'); var sinon = require('sinon'); - var Faker = require('../index'); + var faker = require('../index'); } // Basic smoke tests to make sure each method is at least implemented and returns a string. @@ -28,7 +28,7 @@ describe("functional tests", function () { describe(module, function () { modules[module].forEach(function (meth) { it(meth + "()", function () { - var result = Faker[module][meth](); + var result = faker[module][meth](); assert.ok(result); }); }); @@ -37,10 +37,10 @@ describe("functional tests", function () { describe("Address", function () { it("zipCodeFormat()", function () { - var result = Faker.Address.zipCodeFormat(0); + var result = faker.Address.zipCodeFormat(0); assert.ok(!result.match(/-/)); - result = Faker.Address.zipCodeFormat(1); + result = faker.Address.zipCodeFormat(1); assert.ok(result.match(/-/)); }); }); -- cgit v1.2.3