From 53264cfe9bce9da177bb38133a3bb32fe1c47299 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Fri, 1 Sep 2017 23:23:23 -0700 Subject: [PATCH] fix spec --- spec/lib/synapse/service_watcher_zookeeper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/synapse/service_watcher_zookeeper_spec.rb b/spec/lib/synapse/service_watcher_zookeeper_spec.rb index 2d5e13eb..c4dd062f 100644 --- a/spec/lib/synapse/service_watcher_zookeeper_spec.rb +++ b/spec/lib/synapse/service_watcher_zookeeper_spec.rb @@ -63,7 +63,7 @@ [ service_data['host'], service_data['port'], service_data['name'], service_data['weight'], service_data['haproxy_server_options'], service_data['labels'] ] } - let(:config_for_generator_string) { config_for_generator.to_json } + let(:config_for_generator_string) { [config_for_generator.to_json] } let(:parsed_config_for_generator) do { "haproxy" => config_for_generator_haproxy