mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
8bf7c97990
commit
b2c5c55d53
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,9 @@ CoverageHelper.eager_load if ENV['COVERAGE']
|
|||
require "logstash/devutils/rspec/spec_helper"
|
||||
require "logstash/logging/json"
|
||||
|
||||
require "flores/rspec"
|
||||
require "flores/random"
|
||||
|
||||
class JSONIOThingy < IO
|
||||
def initialize; end
|
||||
def flush; end
|
||||
|
@ -18,6 +21,7 @@ class JSONIOThingy < IO
|
|||
end
|
||||
|
||||
RSpec.configure do |c|
|
||||
Flores::RSpec.configure(c)
|
||||
c.before do
|
||||
# Force Cabin to always have a JSON subscriber. The main purpose of this
|
||||
# is to catch crashes in json serialization for our logs. JSONIOThingy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue