lib/active_spy.rb in active_spy-1.1.1 vs lib/active_spy.rb in active_spy-1.1.2
- old
+ new
@@ -31,10 +31,10 @@
port = ActiveSpy::Configuration.event_port
@@base_url = "#{host}:#{port}/services"
return if self.service_registered?
service = { service: ActiveSpy::Configuration.settings }.to_json
- RestClient.post(@@base_url, service.to_json, content_type: :json)
+ RestClient.post(@@base_url, service, content_type: :json)
end
# @!method self.service_registered?
# Check if the service was already registetered in the configured event
# runner instance.