Merge pull request #6023 from carlosantoniodasilva/fix-queue-test

Fix failing test related to TestQueue
This commit is contained in:
Aaron Patterson 2012-04-27 15:54:46 -07:00
commit 3e8d88f7da
2 changed files with 2 additions and 2 deletions

@ -1,7 +1,7 @@
module Rails
module Queueing
# In test mode, the Rails queue is backed by an Array so that assertions
# can be made about its contents. The test queue provides a +contents+
# can be made about its contents. The test queue provides a +jobs+
# method to make assertions about the queue's contents and a +drain+
# method to drain the queue and run the jobs.
#

@ -78,7 +78,7 @@ def run
Rails.queue.push job
end
assert_equal jobs, Rails.queue.contents
assert_equal jobs, Rails.queue.jobs
end
test "a custom queue implementation can be provided" do