From 9b8f006064f6aa487f07ec187492b34a40edd97e Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Tue, 3 Feb 2015 21:30:43 -0600 Subject: [PATCH] Added sinon and corrected path --- package.json | 1 + test/common/algos.mocha.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a684266ba..f631c895d9 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,7 @@ "phantomjssmith": "~0.5.4", "protractor": "~0.14.0", "rimraf": "^2.2.8", + "sinon": "^1.12.2", "superagent": "~0.15.7", "superagent-defaults": "~0.1.5", "vinyl-source-stream": "^1.0.0", diff --git a/test/common/algos.mocha.coffee b/test/common/algos.mocha.coffee index 429edfb8af..f03754f792 100644 --- a/test/common/algos.mocha.coffee +++ b/test/common/algos.mocha.coffee @@ -6,7 +6,7 @@ expect = require 'expect.js' sinon = require 'sinon' moment = require 'moment' shared = require '../../common/script/index.coffee' -shared.i18n.translations = require('habitrpg/src/i18n.js').translations +shared.i18n.translations = require('../../website/src/i18n.js').translations test_helper = require './test_helper' test_helper.addCustomMatchers() $w = (s)->s.split(' ')