mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-12 10:52:16 -04:00
Factor out room name logic: mRoomName is the canonical source.
This commit is contained in:
parent
c9c2e39531
commit
8bcd36377a
2 changed files with 6 additions and 14 deletions
|
@ -76,8 +76,8 @@ describe("RegisterController ", function() {
|
|||
scope.account.pwd1 = "password";
|
||||
scope.account.pwd2 = "password";
|
||||
scope.account.desired_user_id = "bob";
|
||||
scope.register();
|
||||
rootScope.$digest();
|
||||
scope.register(); // this depends on the result of a deferred
|
||||
rootScope.$digest(); // which is delivered after the digest
|
||||
|
||||
expect(scope.feedback).not.toEqual(prevFeedback);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue