mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-17 04:34:24 +00:00
Improve var naming, thanks Gaetan
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user