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

Cleanup testing data between test runs

This commit is contained in:
Akira Matsuda 2016-12-08 00:49:14 +09:00
parent 521517fcbf
commit 384eead564

View file

@ -17,6 +17,7 @@ if defined? ActiveRecord
teardown do
Book.delete_all
User.delete_all
Readership.delete_all
end
test 'it should reset total_count memoization when the scope is cloned' do