test/client_test.rb in ruby_skynet-0.4.0 vs test/client_test.rb in ruby_skynet-0.5.0
- old
+ new
@@ -54,10 +54,11 @@
end
context "with server" do
setup do
@region = 'ClientTest'
- RubySkynet::Server.start(@region)
+ RubySkynet.region = @region
+ RubySkynet::Server.start
@service_name = 'ClientTestService'
@version = 1
@read_timeout = 3.0
\ No newline at end of file