diff --git a/spec/inputs/stdin_spec.rb b/spec/inputs/stdin_spec.rb index 69b7434..c08a142 100644 --- a/spec/inputs/stdin_spec.rb +++ b/spec/inputs/stdin_spec.rb @@ -4,6 +4,7 @@ require "logstash/inputs/stdin" describe LogStash::Inputs::Stdin do + context ".reloadable?" do subject { described_class } @@ -31,8 +32,7 @@ end context 'ECS behavior', :ecs_compatibility_support do - - subject { LogStash::Inputs::Stdin.new } + subject { LogStash::Inputs::Stdin.new() } ecs_compatibility_matrix(:v1, :v8 => :v1) do @@ -64,7 +64,7 @@ it "sets event.original" do event = queue.pop - expect( event.get('event') ).to eql 'original' => stdin_data + expect( event.get('[event][original]').strip ).to eql stdin_data.strip end end