Sha256: de3eb5303e34a25a3321d48d8dea6e53f96fcbf589bd1eac036d7128884d8806

Contents?: true

Size: 458 Bytes

Versions: 41

Compression:

Stored size: 458 Bytes

Contents

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

include Chimp

uri = 

describe Chimp::ChimpDaemon do
  before :all do
    @c = ChimpDaemon.instance
    @c.spawn_queue_runner
    @c.spawn_webserver
  end
  
  #
  # .spawn_queue_runner
  #
  it "should have 50 threads" do
    ChimpQueue.instance.max_threads.should == 50
  end

  #
  # .quit
  #
  after :all do
    @c.quit
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

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