File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def expected_response_with_last_page_pagination_links
117117 end
118118 end
119119
120- def expected_response_with_no_data_pagination_links
120+ def expected_response_with_empty_collection_pagination_links
121121 { } . tap do |hash |
122122 hash [ :data ] = [ ]
123123 hash . merge! links : empty_collection_links
@@ -148,15 +148,15 @@ def test_pagination_links_when_zero_results_kaminari
148148
149149 adapter = load_adapter ( using_kaminari ( 1 ) , mock_request )
150150
151- assert_equal expected_response_with_no_data_pagination_links , adapter . serializable_hash
151+ assert_equal expected_response_with_empty_collection_pagination_links , adapter . serializable_hash
152152 end
153153
154154 def test_pagination_links_when_zero_results_will_paginate
155155 @array = [ ]
156156
157157 adapter = load_adapter ( using_will_paginate ( 1 ) , mock_request )
158158
159- assert_equal expected_response_with_no_data_pagination_links , adapter . serializable_hash
159+ assert_equal expected_response_with_empty_collection_pagination_links , adapter . serializable_hash
160160 end
161161
162162 def test_last_page_pagination_links_using_kaminari
You can’t perform that action at this time.
0 commit comments