summary refs log tree commit diff
path: root/syweb/webclient/test/unit/register-controller.spec.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-06 12:00:03 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-06 12:00:03 +0000
commitc9c2e395316a8f8ef905d1ca9d7e0bbab2c39f7e (patch)
treeaeefb64adfbc1a621ca128cd8c7cfc6c2ccaae66 /syweb/webclient/test/unit/register-controller.spec.js
parentStart adding regression tests. First up, register-controller for SYWEB-109. (diff)
downloadsynapse-c9c2e395316a8f8ef905d1ca9d7e0bbab2c39f7e.tar.xz
Use .not.toEqual instead of .toNotEqual which is in a newer version of Jasmine.
Diffstat (limited to 'syweb/webclient/test/unit/register-controller.spec.js')
-rw-r--r--syweb/webclient/test/unit/register-controller.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/test/unit/register-controller.spec.js b/syweb/webclient/test/unit/register-controller.spec.js
index 369704c0da..ce6ef1f4e2 100644
--- a/syweb/webclient/test/unit/register-controller.spec.js
+++ b/syweb/webclient/test/unit/register-controller.spec.js
@@ -79,6 +79,6 @@ describe("RegisterController ", function() {
         scope.register();
         rootScope.$digest();
         
-        expect(scope.feedback).toNotEqual(prevFeedback);
+        expect(scope.feedback).not.toEqual(prevFeedback);
     });
 });