Improve var naming, thanks Gaetan

This commit is contained in:
Maikel Linke
2025-02-12 15:33:33 +11:00
parent 079d09b8b8
commit d9cb1e8e74

View File

@@ -43,10 +43,10 @@ RSpec.describe Alert do
it "adds context given as keyword argument" do
expect_any_instance_of(Bugsnag::Report).to receive(:add_metadata).with(
:data, { data: "ABC123" }
:thing, { data: "ABC123" }
)
Alert.raise("hey", data: "ABC123")
Alert.raise("hey", thing: "ABC123")
end
it "adds simple values as context" do