From 9a354444d0c84e4aac766eb7e7557e8967b0df77 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Tue, 30 Jan 2018 23:25:58 +0800 Subject: [PATCH] fix bug for wrap not existing method --- .../test/row-selection/selection-cell.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-bootstrap-table2/test/row-selection/selection-cell.test.js b/packages/react-bootstrap-table2/test/row-selection/selection-cell.test.js index bcb5799..c0069e2 100644 --- a/packages/react-bootstrap-table2/test/row-selection/selection-cell.test.js +++ b/packages/react-bootstrap-table2/test/row-selection/selection-cell.test.js @@ -34,12 +34,12 @@ describe('', () => { }); }); - describe('handleRowClick', () => { + describe('handleClick', () => { describe('when 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();