Prep for merging #214

This commit is contained in:
Jordan Sissel 2012-10-16 11:48:26 -07:00
parent 9e497fbcd1
commit 06533d2a58

View file

@ -1,22 +0,0 @@
require "test_utils"
require "logstash/event"
describe "event tests" do
extend LogStash::RSpec
subject {
LogStash::Event.new("@fields" => { "foo" => "bar" })
}
it "should have @source == 'unknown'" do
insist { subject["@source"] } == "unknown"
end
it "should have a timestamp" do
insist { subject }.include?("@timestamp")
end
it "should have event['foo'] == 'bar'" do
insist { subject["foo"] } == "bar"
end
end