Skip to content

Commit

Permalink
Merge pull request #6023 from carlosantoniodasilva/fix-queue-test
Browse files Browse the repository at this point in the history
Fix failing test related to TestQueue
  • Loading branch information
tenderlove committed Apr 27, 2012
2 parents d8c3ad7 + ff4eba9 commit 3e8d88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/queueing.rb
@@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion railties/test/application/queue_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 3e8d88f

Please sign in to comment.