Skip to content

Commit 7d62fde

Browse files
Fix structured log attribute spec key lookup
1 parent d6dc3c8 commit 7d62fde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry-ruby/spec/sentry/log_event_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204

205205
hash = event.to_h
206206
expect { JSON.generate(hash) }.not_to raise_error
207-
expect(hash[:attributes]["payload"][:type]).to eq("string")
207+
expect(hash[:attributes][:payload][:type]).to eq("string")
208208
end
209209
end
210210
end

0 commit comments

Comments
 (0)