Skip to content

Commit 1885ee6

Browse files
committed
because of React-0.14 changes
1 parent fcb36a1 commit 1885ee6

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

test/PaginationSpec.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,11 @@ describe('Pagination', () => {
9393
// add first, last, prev, next and ellipsis button
9494
assert.equal(pageButtons.length, 8);
9595

96-
assert.equal(React.findDOMNode(pageButtons[0]).innerText, 'first');
97-
assert.equal(React.findDOMNode(pageButtons[1]).innerText, 'prev');
98-
assert.equal(React.findDOMNode(pageButtons[5]).innerText, 'more');
99-
assert.equal(React.findDOMNode(pageButtons[6]).innerText, 'next');
100-
assert.equal(React.findDOMNode(pageButtons[7]).innerText, 'last');
101-
96+
assert.equal(pageButtons[0].innerText, 'first');
97+
assert.equal(pageButtons[1].innerText, 'prev');
98+
assert.equal(pageButtons[5].innerText, 'more');
99+
assert.equal(pageButtons[6].innerText, 'next');
100+
assert.equal(pageButtons[7].innerText, 'last');
102101
});
103102

104103
it('Should enumerate pagenums correctly when ellipsis=true', () => {

0 commit comments

Comments
 (0)