Со страницы выбора аккаунтов удалена ссылка на создание нового аккаунта

This commit is contained in:
ErickSkrauch
2017-03-07 01:43:33 +03:00
parent 148caba4a6
commit 23e7b811fe
9 changed files with 4 additions and 31 deletions

View File

@@ -1,7 +1,6 @@
import ChooseAccountState from 'services/authFlow/ChooseAccountState';
import CompleteState from 'services/authFlow/CompleteState';
import LoginState from 'services/authFlow/LoginState';
import RegisterState from 'services/authFlow/RegisterState';
import { bootstrap, expectState, expectNavigate, expectRun } from './helpers';
@@ -46,16 +45,10 @@ describe('ChooseAccountState', () => {
});
describe('#reject', () => {
it('should transition to register', () => {
expectState(mock, RegisterState);
state.reject(context);
});
it('should logout', () => {
expectRun(mock, 'logout');
state.reject(context, {logout: true});
state.reject(context);
});
});
});