Sha256: b9815ac75e2c4dbc1726edbff5f62c985a539db31bc1ec8f12b374eba29969c4

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

require 'drb'

class TestServer
  PORT = 4444

  def self.start
    DRb.start_service("druby://localhost:#{PORT}", self.new)
  end

  def self.stop
    DRb.stop_service
  end

  def redirect_stdstreams(stdout, stderr)
  end

  def version
    Foodtaster::VERSION
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foodtaster-0.0.10 spec/support/test_server.rb
foodtaster-0.0.9 spec/support/test_server.rb