Sha256: 949c0bbf8893969aa41acd94839e239462010a4ea7105d3fb44be9bcc85a4301

Contents?: true

Size: 313 Bytes

Versions: 11

Compression:

Stored size: 313 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

include Fathom

describe AgentCluster do
  
  before do
    @agent = double()
    @agents = [@agent]
  end
  
  it "should initialize with a set of agents" do
    @ac = AgentCluster.new @agent
    @ac.agents.should eql(@agents)
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fathom-0.3.7 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.6 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.4 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.3 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.2 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.1 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.3.0 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.2.3 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.2.2 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.2.1 spec/fathom/agent/agent_cluster_spec.rb
fathom-0.2.0 spec/fathom/agent/agent_cluster_spec.rb