remove uneeded assertion

This commit is contained in:
Sam 2017-10-04 15:59:16 +11:00
parent ebdf8d6718
commit 5881355006
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ describe Scheduler::Manager do
manager.remove(Testing::SuperLongJob)
manager.remove(Testing::PerHostJob)
$redis.flushall
expect(ActiveRecord::Base.connection_pool.connections.reject { |c| !c.in_use? }.length).to eq(1)
# connections that are not in use must be removed
# otherwise active record gets super confused