1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

we're still supporting Ruby 1.8...

This commit is contained in:
Akira Matsuda 2012-09-20 10:05:05 +09:00
parent 35252fa201
commit 0e86151b1a

View file

@ -37,7 +37,7 @@ if defined? ActiveRecord
end
context "when the scope returns an ActiveSupport::OrderedHash" do
it "should not throw exception by passing options to count" do
-> {
lambda {
@author.readers.by_read_count.page(1).total_count(:name, distinct: true)
}.should_not raise_exception
end