Sha256: c28ea25d23e33e31b6ebc122197db06816ca5a2d097df585ec647aa401ac3473
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
require "spec_helper" module Healthety describe Healthety do it "should start" do $stdout = StringIO.new Thread.any_instance.stubs(:join) UDPSocket.any_instance.stubs(:send) expect do Healthety.workers do host "127.0.0.1" port 8124 worker :test do interval 0.5 value rand(10) end end end.to be_true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
healthety-0.0.1 | spec/unit/healthety_spec.rb |