spec/unit/healthety_spec.rb in healthety-0.0.5 vs spec/unit/healthety_spec.rb in healthety-0.0.6
- old
+ new
@@ -11,11 +11,11 @@
UDPSocket.any_instance.stubs(:send)
it "should start" do
expect do
Healthety.workers do
- server "127.0.0.1"
+ host "localhost"
port 41234
worker :test do
interval 0.5
value rand(10)
@@ -27,10 +27,10 @@
it "should inclde helpers" do
Healthety.helpers TestHelper
expect do
Healthety.workers do
- server "127.0.0.1"
+ host "localhost"
port 41234
worker :test do
interval 0.5
value test
\ No newline at end of file