- fix tests due to change in DATE_EU pattern

This commit is contained in:
Jordan Sissel 2013-07-02 10:28:19 -07:00
parent cee6ee3057
commit 71547029a6

View file

@ -224,9 +224,9 @@ describe LogStash::Filters::Grok do
}
CONFIG
sample "fancy 2012-12-12 12:12:12" do
sample "fancy 12-12-12 12:12:12" do
insist { subject["tags"] }.nil?
insist { subject["timestamp"] } == "2012-12-12 12:12:12"
insist { subject["timestamp"] } == "12-12-12 12:12:12"
end
end
end
@ -292,8 +292,8 @@ describe LogStash::Filters::Grok do
}
CONFIG
sample "2011/01/01" do
insist { subject["stimestamp"] } == "2011/01/01"
sample "11/01/01" do
insist { subject["stimestamp"] } == "11/01/01"
end
end