diff --git a/spec/filters/grok_spec.rb b/spec/filters/grok_spec.rb index f989982..a2615b7 100644 --- a/spec/filters/grok_spec.rb +++ b/spec/filters/grok_spec.rb @@ -199,7 +199,7 @@ def pattern_path(path) sample "400 454.33" do insist { subject.get("foo") } == 400 - insist { subject.get("foo") }.is_a?(Fixnum) + insist { subject.get("foo") }.is_a?(Integer) insist { subject.get("bar") } == 454.33 insist { subject.get("bar") }.is_a?(Float) end