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:
parent
35252fa201
commit
0e86151b1a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue