#26: incapsulate auth flow rejection logic into a separate component

This commit is contained in:
SleepWalker
2016-05-14 15:38:00 +03:00
parent b0a6740751
commit 4733b79d75
11 changed files with 50 additions and 91 deletions

View File

@@ -86,12 +86,4 @@ describe('LoginState', () => {
return promise.catch(mock.verify.bind(mock));
});
});
describe('#reject', () => {
it('should transition to forgot password state', () => {
expectState(mock, ForgotPasswordState);
state.reject(context);
});
});
});