Fix failing tests in ActiveJob Adapter

This commit is contained in:
Abdelkader Boudih 2014-09-02 20:27:32 +00:00
parent e9058482f0
commit a70bdfe6e3

@ -3,6 +3,7 @@ module QueueAdapters
class TestAdapter class TestAdapter
attr_accessor(:perform_enqueued_jobs) { false } attr_accessor(:perform_enqueued_jobs) { false }
attr_accessor(:perform_enqueued_at_jobs) { false } attr_accessor(:perform_enqueued_at_jobs) { false }
delegate :name, to: :class
# Provides a store of all the enqueued jobs with the TestAdapter so you can check them. # Provides a store of all the enqueued jobs with the TestAdapter so you can check them.
def enqueued_jobs def enqueued_jobs