Sha256: da770573b71215ab93a90fb8a47b9d4f4dd621812fc36a2c8044e00d8a392ae0

Contents?: true

Size: 483 Bytes

Versions: 41

Compression:

Stored size: 483 Bytes

Contents

#
# Test QueueWorker
#
$LOAD_PATH << File.dirname(__FILE__) + "/.."
require 'lib/right_chimp.rb'
require 'rspec'

include Chimp

describe QueueWorker do
  it "should instantiate" do
    q = QueueWorker.new
    q.delay = 10
    q.retry_count = 10
    q.never_exit = false
    
    ChimpQueue.instance.group = {}

    q.delay.should == 10
    q.retry_count.should == 10
    q.never_exit.should == false
  end
  
  #it "should run" do
  #  q = QueueWorker.new
  #  q.run
  #end
  
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
right_chimp-2.1.28 spec/spec_queue_worker.rb
right_chimp-2.1.27 spec/spec_queue_worker.rb
right_chimp-2.1.26 spec/spec_queue_worker.rb
right_chimp-2.1.25.2 spec/spec_queue_worker.rb
right_chimp-2.1.25 spec/spec_queue_worker.rb
right_chimp-2.1.24 spec/spec_queue_worker.rb
right_chimp-2.1.22.2 spec/spec_queue_worker.rb
right_chimp-2.1.22.1 spec/spec_queue_worker.rb
right_chimp-2.1.22 spec/spec_queue_worker.rb
right_chimp-2.1.21 spec/spec_queue_worker.rb
right_chimp-2.1.19.1 spec/spec_queue_worker.rb
right_chimp-2.1.19 spec/spec_queue_worker.rb
right_chimp-2.1.18 spec/spec_queue_worker.rb
right_chimp-2.1.17 spec/spec_queue_worker.rb
right_chimp-2.1.15 spec/spec_queue_worker.rb
right_chimp-2.1.14 spec/spec_queue_worker.rb
right_chimp-2.1.13 spec/spec_queue_worker.rb
right_chimp-2.1.12 spec/spec_queue_worker.rb
right_chimp-2.1.10 spec/spec_queue_worker.rb
right_chimp-2.1.8 spec/spec_queue_worker.rb