mislav/will_paginate — pull request #303 by DanielVartanov (2013-04-03 11:02:49+00:00)
Title: Accept arguments for `#count`

Sometimes it is needed to call `relation.count(distinct: true)`. I am not sure what is the best way to test it within will_paginate's testing conventions. Can you guys give me some advice?

Thanks in advance.