spec/models/scopes_spec.rb in kaminari-0.10.3 vs spec/models/scopes_spec.rb in kaminari-0.10.4

- old
+ new

@@ -99,6 +99,11 @@ subject { User.group('age').page(2).per 5 } # 0..10 its(:total_count) { should == 11 } its(:num_pages) { should == 3 } end + + context 'activerecord descendants' do + subject { ActiveRecord::Base.descendants } + its(:length) { should_not == 0 } + end end