mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
DEV: Print proper summary when errors have been reporter in turbo_rspec
This commit is contained in:
@ -9,6 +9,7 @@ module TurboTests
|
||||
:example_failed,
|
||||
:example_passed,
|
||||
:example_pending,
|
||||
:message,
|
||||
:seed
|
||||
)
|
||||
|
||||
@ -95,6 +96,13 @@ module TurboTests
|
||||
)
|
||||
end
|
||||
|
||||
def message(notification)
|
||||
output_row(
|
||||
type: :message,
|
||||
message: notification.message
|
||||
)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def output_row(obj)
|
||||
|
Reference in New Issue
Block a user