spec/spec_helper.rb in logstash-logger-0.25.0 vs spec/spec_helper.rb in logstash-logger-0.25.1

- old
+ new

@@ -1,6 +1,7 @@ require 'pry' +require 'securerandom' require 'simplecov' SimpleCov.start if ENV['CI']=='true' require 'codecov' @@ -100,9 +101,10 @@ RSpec.shared_context 'formatter' do let(:severity) { "DEBUG" } let(:time) { Time.now } let(:progname) { "ruby" } let(:message) { "foo" } + let(:long_message) { SecureRandom.hex(65537) } let(:hostname) { Socket.gethostname } let(:formatted_message) do subject.call(severity, time, progname, message) end end