spec/spec_helper.rb in logstash-output-graphite-0.1.7 vs spec/spec_helper.rb in logstash-output-graphite-0.1.8

- old
+ new

@@ -1,3 +1,11 @@ require "logstash/devutils/rspec/spec_helper" require "logstash/outputs/graphite" require_relative "support/server" + +class LogStash::Outputs::Graphite + attr_reader :socket + + def connect + @socket = Mocks::Server.new + end +end