diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-06 12:00:03 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-06 12:00:03 +0000 |
commit | c9c2e395316a8f8ef905d1ca9d7e0bbab2c39f7e (patch) | |
tree | aeefb64adfbc1a621ca128cd8c7cfc6c2ccaae66 /syweb/webclient/test/unit/register-controller.spec.js | |
parent | Start adding regression tests. First up, register-controller for SYWEB-109. (diff) | |
download | synapse-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.js | 2 |
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); }); }); |