Skip to content

Commit 5194960

Browse files
wiibaaSuyog Rao
authored andcommitted
fix failing test
1 parent 2e21df8 commit 5194960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/filters/date.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
#Support float values
139139
sample("mydate" => 1350414944.123456) do
140140
insist { subject["mydate"] } == 1350414944.123456
141-
insist { subject.timestamp } == Time.iso8601("2012-10-16T12:15:44.123-07:00").utc
141+
insist { subject["@timestamp"].time } == Time.iso8601("2012-10-16T12:15:44.123-07:00").utc
142142
end
143143

144144
#Invalid value should not be evaluated to zero (String#to_i madness)

0 commit comments

Comments
 (0)