spec/inputs/ganglia_spec.rb in logstash-input-ganglia-2.0.6 vs spec/inputs/ganglia_spec.rb in logstash-input-ganglia-3.0.0
- old
+ new
@@ -56,10 +56,10 @@
it "should receive and generate proper number of events" do
expect(events.count).to be(nevents)
end
it "should receive the correct data" do
- expect(event["tmax"]).to eq(60)
+ expect(event.get("tmax")).to eq(60)
end
end
end