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:
parent
521517fcbf
commit
384eead564
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue