File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626 with context ('Client.previous' ):
2727 with it ('should create a new request with the page and call it' ):
2828 self .response .result = {
29- 'meta' : {'links' : {'previous' : 'http://f.co?page=1' }}
29+ 'meta' : {'links' : {'previous' : 'http://f.co?page%5Boffset%5D =1' }}
3030 }
3131
3232 next_response = self .pagination .previous (self .response )
4444 with context ('Client.next' ):
4545 with it ('should create a new request with the page and call it' ):
4646 self .response .result = {
47- 'meta' : {'links' : {'next' : 'http://f.co?page=1' }}
47+ 'meta' : {'links' : {'next' : 'http://f.co?page%5Boffset%5D =1' }}
4848 }
4949
5050 next_response = self .pagination .next (self .response )
6262 with context ('Client.first' ):
6363 with it ('should create a new request with the page and call it' ):
6464 self .response .result = {
65- 'meta' : {'links' : {'first' : 'http://f.co?page=1' }}
65+ 'meta' : {'links' : {'first' : 'http://f.co?page%5Boffset%5D =1' }}
6666 }
6767
6868 next_response = self .pagination .first (self .response )
8181 with it ('should create a new request with the page and call it' ):
8282 self .response .request .params = {'page' : {'offset' : '0' }}
8383 self .response .result = {
84- 'meta' : {'links' : {'last' : 'http://f.co?page=1' }}
84+ 'meta' : {'links' : {'last' : 'http://f.co?page%5Boffset%5D =1' }}
8585 }
8686
8787 next_response = self .pagination .last (self .response )
You can’t perform that action at this time.
0 commit comments