Merge pull request #6023 from carlosantoniodasilva/fix-queue-test
Fix failing test related to TestQueue
This commit is contained in:
commit
3e8d88f7da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user