@@ -1056,7 +1056,7 @@ describe('Reactable', function() {
1056
1056
} ) ;
1057
1057
} ) ;
1058
1058
1059
- describe ( 'update currentPage via a prop passed to table' , function ( ) {
1059
+ describe ( 'updating the currentPage via a prop passed to the table' , function ( ) {
1060
1060
before ( function ( ) {
1061
1061
1062
1062
var ParentComponent = React . createClass ( {
@@ -1065,7 +1065,7 @@ describe('Reactable', function() {
1065
1065
} ,
1066
1066
1067
1067
render ( ) {
1068
- return (
1068
+ return (
1069
1069
< Reactable . Table className = "table" id = "table" data = { [
1070
1070
{ 'Name' : 'Griffin Smith' , 'Age' : '18' } ,
1071
1071
{ 'Age' : '23' , 'Name' : 'Lee Salminen' } ,
@@ -1085,14 +1085,14 @@ describe('Reactable', function() {
1085
1085
1086
1086
after ( ReactableTestUtils . resetTestEnvironment ) ;
1087
1087
1088
- it ( 'set default currentPage' , function ( ) {
1088
+ it ( 'allows setting the default currentPage' , function ( ) {
1089
1089
let activePage = $ ( '#table tbody.reactable-pagination ' +
1090
1090
'a.reactable-page-button.reactable-current-page' ) ;
1091
1091
expect ( activePage . length ) . to . equal ( 1 ) ;
1092
1092
expect ( activePage ) . to . have . text ( '5' ) ;
1093
1093
} ) ;
1094
1094
1095
- it ( 'update currentPage using props' , function ( ) {
1095
+ it ( 'allows updating currentPage using props' , function ( ) {
1096
1096
this . component . setState ( { currentPage : 2 } )
1097
1097
let activePage = $ ( '#table tbody.reactable-pagination ' +
1098
1098
'a.reactable-page-button.reactable-current-page' )
0 commit comments