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