remove uneeded assertion
This commit is contained in:
parent
ebdf8d6718
commit
5881355006
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue