Skip to content

Commit 744a6dc

Browse files
author
Stanislav (Stas) Katkov
committed
adjust .feature file to properly illustrate report usage
1 parent 6a14230 commit 744a6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/matchers/have_reported_error_matcher.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Feature: `have_reported_error` matcher
2424
end
2525
2626
def self.process_with_context
27-
Rails.error.report(ArgumentError.new("Invalid input"), context: { context: "user_processing", severity: :error })
27+
Rails.error.report(ArgumentError.new("Invalid input"), severity: :error , context: { topic: "user_processing"})
2828
end
2929
3030
def self.process_custom_error

0 commit comments

Comments
 (0)