diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-10-12 18:01:04 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-10-12 19:38:40 -0700 |
commit | 775829869e23666e114edbe8d6d3ff08d5d71025 (patch) | |
tree | 3bfbcee2dace0d1fa842682a4443384a63beaa88 /activesupport/test | |
parent | 32b4d464849d976431342aa0cfe2d4e17b10e9f0 (diff) | |
download | rails-775829869e23666e114edbe8d6d3ff08d5d71025.tar.gz rails-775829869e23666e114edbe8d6d3ff08d5d71025.tar.bz2 rails-775829869e23666e114edbe8d6d3ff08d5d71025.zip |
Remove the queue container. Premature consolidation. Set up and maintain queues in the classes that use them instead.
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/queueing/container_test.rb | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/activesupport/test/queueing/container_test.rb b/activesupport/test/queueing/container_test.rb deleted file mode 100644 index 7afc11e7a9..0000000000 --- a/activesupport/test/queueing/container_test.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'abstract_unit' -require 'active_support/queueing' - -module ActiveSupport - class ContainerTest < ActiveSupport::TestCase - def test_delegates_to_default - q = Queue.new - container = QueueContainer.new q - job = Object.new - - container.push job - assert_equal job, q.pop - end - - def test_access_default - q = Queue.new - container = QueueContainer.new q - assert_equal q, container[:default] - end - - def test_assign_queue - container = QueueContainer.new Object.new - q = Object.new - container[:foo] = q - assert_equal q, container[:foo] - end - end -end |