Skip to content

Commit

Permalink
Test: avoid Fixnum deprecation in spec
Browse files Browse the repository at this point in the history
Fixes #153
  • Loading branch information
kares committed Nov 18, 2019
1 parent 155eb3e commit 3527b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/filters/grok_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3527b14

Please sign in to comment.