test/service_test.rb in ruby_skynet-0.4.0 vs test/service_test.rb in ruby_skynet-0.5.0
- old
+ new
@@ -33,10 +33,11 @@
context "with server" do
setup do
@region = 'Test'
@service_name = 'TestService'
@version = 1
- RubySkynet::Server.start(@region)
+ RubySkynet.region = @region
+ RubySkynet::Server.start
sleep 0.2
end
teardown do
RubySkynet::Server.stop
\ No newline at end of file