@@ -144,7 +144,9 @@ def test_has_many_association_filters
144144 # define apply_filters method on post resource to not respect filters
145145 PostResource . instance_eval do
146146 def apply_filters ( records , filters )
147+ # :nocov:
147148 records
149+ # :nocov:
148150 end
149151 end
150152
@@ -154,7 +156,9 @@ def apply_filters(records, filters)
154156 # reset method to original implementation
155157 PostResource . instance_eval do
156158 def apply_filters ( records , filters )
159+ # :nocov:
157160 super
161+ # :nocov:
158162 end
159163 end
160164 end
@@ -167,7 +171,9 @@ def test_has_many_association_sorts
167171 # define apply_filters method on post resource to not respect filters
168172 PostResource . instance_eval do
169173 def apply_sort ( records , criteria )
174+ # :nocov:
170175 records
176+ # :nocov:
171177 end
172178 end
173179
@@ -177,7 +183,9 @@ def apply_sort(records, criteria)
177183 # reset method to original implementation
178184 PostResource . instance_eval do
179185 def apply_sort ( records , criteria )
186+ # :nocov:
180187 super
188+ # :nocov:
181189 end
182190 end
183191 end
@@ -190,7 +198,9 @@ def test_has_many_association_pagination
190198 # define apply_filters method on post resource to not respect filters
191199 PostResource . instance_eval do
192200 def apply_pagination ( records , criteria , order_options )
201+ # :nocov:
193202 records
203+ # :nocov:
194204 end
195205 end
196206
@@ -211,7 +221,9 @@ def apply(relation, order_options)
211221 # reset method to original implementation
212222 PostResource . instance_eval do
213223 def apply_pagination ( records , criteria , order_options )
224+ # :nocov:
214225 super
226+ # :nocov:
215227 end
216228 end
217229 end
0 commit comments