Sha256: 22f7cdce0b169ff6fb4407074cc01851e2e6dfea08e9510ddcb6ab755e96abc2

Contents?: true

Size: 215 Bytes

Versions: 7

Compression:

Stored size: 215 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
big_brother-0.4.1 spec/support/factories/node_factory.rb
big_brother-0.4.0 spec/support/factories/node_factory.rb
big_brother-0.3.1 spec/support/factories/node_factory.rb
big_brother-0.3.0 spec/support/factories/node_factory.rb
big_brother-0.2.1 spec/support/factories/node_factory.rb
big_brother-0.2.0 spec/support/factories/node_factory.rb
big_brother-0.1.0 spec/support/factories/node_factory.rb