Skip to content

Commit

Permalink
aj tests, cope with changes in the QC API.
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Jan 10, 2015
1 parent c50d0b7 commit 5450e72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion activejob/test/support/integration/adapters/queue_classic.rb
Expand Up @@ -23,7 +23,10 @@ def clear_jobs
end

def start_workers
QC::Conn.disconnect
unless QC.respond_to?(:default_conn_adapter)
QC::Conn.disconnect
end

@pid = fork do
worker = QC::Worker.new(q_name: 'integration_tests')
worker.start
Expand Down

0 comments on commit 5450e72

Please sign in to comment.