diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-27 19:51:40 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-27 19:51:40 -0300 |
commit | ff4eba9ce2dfa5c44eac33d41798eb72962869db (patch) | |
tree | dc961522696254a8a3fe8867e9fe1868e66ad41b /railties | |
parent | d8c3ad73dd85d9e429264a9f43f8cca51f852275 (diff) | |
download | rails-ff4eba9ce2dfa5c44eac33d41798eb72962869db.tar.gz rails-ff4eba9ce2dfa5c44eac33d41798eb72962869db.tar.bz2 rails-ff4eba9ce2dfa5c44eac33d41798eb72962869db.zip |
Fix failing test, TestQueue#contents is not #jobs
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/queueing.rb | 2 | ||||
-rw-r--r-- | railties/test/application/queue_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/queueing.rb b/railties/lib/rails/queueing.rb index 81cc12b7aa..1254baf93e 100644 --- a/railties/lib/rails/queueing.rb +++ b/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. # diff --git a/railties/test/application/queue_test.rb b/railties/test/application/queue_test.rb index 667565b031..d5d88f69cb 100644 --- a/railties/test/application/queue_test.rb +++ b/railties/test/application/queue_test.rb @@ -78,7 +78,7 @@ module ApplicationTests 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 |