@@ -43,7 +43,7 @@ function setup(callback){
43
43
console . error ( error ) ;
44
44
} else {
45
45
complete ++ ;
46
- if ( complete === 100 ) {
46
+ if ( complete === 100 ) {
47
47
callback ( null , 100 ) ;
48
48
}
49
49
}
@@ -86,7 +86,7 @@ vows.describe('pagination module basic test').addBatch({
86
86
topic :function ( ) {
87
87
return paginate ;
88
88
} ,
89
- 'there should be no errors and paginate should be an object' :function ( topic ) {
89
+ 'there should be no errors and paginate should be an object' :function ( topic ) {
90
90
assert . equal ( typeof ( topic ) , 'object' ) ;
91
91
}
92
92
}
@@ -95,7 +95,7 @@ vows.describe('pagination module basic test').addBatch({
95
95
topic :function ( ) {
96
96
setup ( this . callback ) ;
97
97
} ,
98
- 'there should be no errors and resultCount should be 100' :function ( error , resultCount ) {
98
+ 'there should be no errors and resultCount should be 100' :function ( error , resultCount ) {
99
99
assert . equal ( error , null ) ;
100
100
assert . equal ( resultCount , 100 ) ;
101
101
}
@@ -108,13 +108,13 @@ vows.describe('pagination module basic test').addBatch({
108
108
'there should be no errors' :function ( error , pageCount , results ) {
109
109
assert . equal ( error , null ) ;
110
110
} ,
111
- 'results.length should be 10, and the first result should contain the correct # (11)' :function ( error , pageCount , results ) {
111
+ 'results.length should be 10, and the first result should contain the correct # (11)' :function ( error , pageCount , results ) {
112
112
assert . equal ( results . length , 10 ) ;
113
113
} ,
114
- 'the first result should contain the correct # (11)' :function ( error , pageCount , results ) {
114
+ 'the first result should contain the correct # (11)' :function ( error , pageCount , results ) {
115
115
assert . equal ( results [ 0 ] . title , 'Item #11' ) ;
116
116
} ,
117
- 'the column entry should be undefined' :function ( error , pageCount , results ) {
117
+ 'the column entry should be undefined' :function ( error , pageCount , results ) {
118
118
assert . equal ( typeof ( results [ 0 ] . entry ) , 'undefined' ) ;
119
119
}
120
120
}
@@ -123,11 +123,9 @@ vows.describe('pagination module basic test').addBatch({
123
123
topic :function ( ) {
124
124
teardown ( this . callback ) ;
125
125
} ,
126
- 'there should be no errors and resultCount should be a number' :function ( error , resultCount ) {
126
+ 'there should be no errors and resultCount should be a number' :function ( error , resultCount ) {
127
127
assert . equal ( error , null ) ;
128
128
assert . equal ( resultCount , 100 ) ;
129
129
}
130
130
}
131
131
} ) . export ( module ) ;
132
-
133
- /* EOF */
0 commit comments