Sha256: 8f8e20163f0a4d17436443dd86ec3a98654e83d1a9c3d1a099ee383ab9fcf120

Contents?: true

Size: 240 Bytes

Versions: 12

Compression:

Stored size: 240 Bytes

Contents

class Factory
  def self.node(overrides = {})
    BigBrother::Node.new(
      {
        :address => 'localhost',
        :port    => 8081,
        :path    => '/test/status',
        :weight  => 100
      }.merge(overrides)
    )
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
big_brother-0.8.8.1 spec/support/factories/node_factory.rb
big_brother-0.8.8 spec/support/factories/node_factory.rb
big_brother-0.8.7 spec/support/factories/node_factory.rb
big_brother-0.6.8 spec/support/factories/node_factory.rb
big_brother-0.6.7 spec/support/factories/node_factory.rb
big_brother-0.6.6 spec/support/factories/node_factory.rb
big_brother-0.6.5 spec/support/factories/node_factory.rb
big_brother-0.6.4 spec/support/factories/node_factory.rb
big_brother-0.6.3 spec/support/factories/node_factory.rb
big_brother-0.6.2 spec/support/factories/node_factory.rb
big_brother-0.6.1 spec/support/factories/node_factory.rb
big_brother-0.6.0 spec/support/factories/node_factory.rb