fix bug for wrap not existing method

This commit is contained in:
AllenFang
2018-01-30 23:25:58 +08:00
parent 2533a63430
commit 9a354444d0
@@ -34,12 +34,12 @@ describe('<SelectionCell />', () => {
});
});
describe('handleRowClick', () => {
describe('handleClick', () => {
describe('when <input /> was been clicked', () => {
const rowKey = 1;
const selected = true;
let mockOnRowSelect;
const spy = sinon.spy(SelectionCell.prototype, 'handleRowClick');
const spy = sinon.spy(SelectionCell.prototype, 'handleClick');
beforeEach(() => {
mockOnRowSelect = sinon.stub();