try/19_bluth_try.rb in bluth-0.6.1 vs try/19_bluth_try.rb in bluth-0.6.7
- old
+ new
@@ -10,12 +10,12 @@
## Critical queue should have 3 items
Bluth::Queue.critical.size
#=> 3
-## Can set poptimeout
-Bluth.poptimeout = 2
+## Can set queuetimeout
+Bluth.queuetimeout = 2
#=> 2
## Bluth.shift returns first value
@job1 = Bluth.shift
@job1.data['item']
@@ -29,10 +29,10 @@
## Bluth.pop returns remaining value
@job3 = Bluth.pop
@job3.data['item']
#=> 'val2'
-## Bluth.pop returns nil after waiting for poptimeout
+## Bluth.pop returns nil after waiting for queuetimeout
Bluth.pop
#=> nil
Bluth::Queue.critical.clear
@job1.destroy! if @job1
\ No newline at end of file