ryandotsmith/queue_classic — pull request #219 by Inviz (2014-05-14 00:27:00+00:00)
Title: Change spec so it doesn't freak out on multiple pg connections

The spec that checks that there's only one connection fails in different scenarios, including Travis and local machine. I suggest changing spec to checking that there're no connections created by worker instead, so it's less fragile due to concurrent runs. It also will help if somebody overloads PG to use connection pool transparently.