We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1e8cb commit b775ca4Copy full SHA for b775ca4
spec/filters/json_spec.rb
@@ -198,11 +198,11 @@
198
end
199
200
it "keeps the source field" do
201
- expect(event["message"]).to eq message
+ expect(event.get("message")).to eq message
202
203
204
it "adds a parse-error tag" do
205
- expect(event["tags"]).to eq ["_jsonparsefailure"]
+ expect(event.get("tags")).to eq ["_jsonparsefailure"]
206
207
208
@@ -214,11 +214,11 @@
214
215
216
217
218
219
220
it "does not add a parse-error tag" do
221
- expect(event["tags"]).to be_nil
+ expect(event.get("tags")).to be_nil
222
223
224
0 commit comments