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.7 spec/spec_queue_worker.rb
right_chimp-2.1.6 spec/spec_queue_worker.rb
right_chimp-2.1.5 spec/spec_queue_worker.rb
right_chimp-2.1.4 spec/spec_queue_worker.rb
right_chimp-2.1.3 spec/spec_queue_worker.rb
right_chimp-2.1.2 spec/spec_queue_worker.rb
right_chimp-2.1.0 spec/spec_queue_worker.rb
right_chimp-2.0.2 spec/spec_queue_worker.rb
right_chimp-2.0.1 spec/spec_queue_worker.rb
right_chimp-2.0 spec/spec_queue_worker.rb
right_chimp-1.1.3 spec/spec_queue_worker.rb
right_chimp-1.1.2 spec/spec_queue_worker.rb
right_chimp-1.1.1 spec/spec_queue_worker.rb
right_chimp-1.1.0 spec/spec_queue_worker.rb
right_chimp-1.0.9 spec/spec_queue_worker.rb
right_chimp-1.0.8 spec/spec_queue_worker.rb
right_chimp-1.0.7 spec/spec_queue_worker.rb
right_chimp-1.0.3 spec/spec_queue_worker.rb
right_chimp-1.0.2 spec/spec_queue_worker.rb
right_chimp-1.0.1 spec/spec_queue_worker.rb