@@ -1056,7 +1056,7 @@ describe('Reactable', function() {
10561056 } ) ;
10571057 } ) ;
10581058
1059- describe ( 'update currentPage via a prop passed to table' , function ( ) {
1059+ describe ( 'updating the currentPage via a prop passed to the table' , function ( ) {
10601060 before ( function ( ) {
10611061
10621062 var ParentComponent = React . createClass ( {
@@ -1065,7 +1065,7 @@ describe('Reactable', function() {
10651065 } ,
10661066
10671067 render ( ) {
1068- return (
1068+ return (
10691069 < Reactable . Table className = "table" id = "table" data = { [
10701070 { 'Name' : 'Griffin Smith' , 'Age' : '18' } ,
10711071 { 'Age' : '23' , 'Name' : 'Lee Salminen' } ,
@@ -1085,14 +1085,14 @@ describe('Reactable', function() {
10851085
10861086 after ( ReactableTestUtils . resetTestEnvironment ) ;
10871087
1088- it ( 'set default currentPage' , function ( ) {
1088+ it ( 'allows setting the default currentPage' , function ( ) {
10891089 let activePage = $ ( '#table tbody.reactable-pagination ' +
10901090 'a.reactable-page-button.reactable-current-page' ) ;
10911091 expect ( activePage . length ) . to . equal ( 1 ) ;
10921092 expect ( activePage ) . to . have . text ( '5' ) ;
10931093 } ) ;
10941094
1095- it ( 'update currentPage using props' , function ( ) {
1095+ it ( 'allows updating currentPage using props' , function ( ) {
10961096 this . component . setState ( { currentPage : 2 } )
10971097 let activePage = $ ( '#table tbody.reactable-pagination ' +
10981098 'a.reactable-page-button.reactable-current-page' )
0 commit comments