<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -50,7 +50,7 @@ describe &quot;waiting tasks&quot; do
     
     WorkerQueue.available_tasks.length.should eql(0)
   end
-  
+
   it &quot;should order all waiting tasks in the correct order&quot; do
     @worker_queue[0].task_group = 'other_group'
     @worker_queue[1].task_group = 'other_group'
@@ -62,6 +62,13 @@ describe &quot;waiting tasks&quot; do
     end
   end
 
+  it &quot;for all without specified type, should always be available&quot; do
+    @worker_queue.each { |item| item.update_attribute( :task_group, '' ) }
+    @worker_queue[0].status = WorkerQueue::WorkerQueueItem::STATUS_RUNNING
+    @worker_queue[0].save
+    WorkerQueue.available_tasks.length.should eql(9)
+  end
+
 end
 
 describe &quot;work&quot; do</diff>
      <filename>spec/models/worker_queue_item_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f57aaeeea419bfbd5d35b53a1410994e2b0007f5</id>
    </parent>
  </parents>
  <author>
    <name>NgTzeYang</name>
    <email>ngty77@gmail.com</email>
  </author>
  <url>http://github.com/barttenbrinke/worker_queue/commit/408b211765876272073878542976e88163a20b11</url>
  <id>408b211765876272073878542976e88163a20b11</id>
  <committed-date>2008-09-18T04:44:16-07:00</committed-date>
  <authored-date>2008-09-18T04:44:16-07:00</authored-date>
  <message>For any waiting WorkerQueueItem with unspecified (and zero-length) :task_group, it is always available for execution.</message>
  <tree>820a2ac0b32fed35fcf9af05aeeae7709368e223</tree>
  <committer>
    <name>NgTzeYang</name>
    <email>ngty77@gmail.com</email>
  </committer>
</commit>
