From 929b4f89d62538e6f43612da462fe7246ec99e15 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 3 Apr 2024 14:00:47 +0100 Subject: [PATCH] DEV: Send proper 'stop' notification in turbo_rspec (#26488) Doesn't actually seem to be used by any of our formatters, but let's send the proper data anyway for future-proofing. Followup to ff6cb1bc059d880368480a847b50f4aceb1e48a1 and 8098876bfaf2a2f28c22d16b5856c4be43fcf32b --- lib/turbo_tests/reporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/turbo_tests/reporter.rb b/lib/turbo_tests/reporter.rb index b2a1e2e1eb8..f86b49d26d5 100644 --- a/lib/turbo_tests/reporter.rb +++ b/lib/turbo_tests/reporter.rb @@ -87,7 +87,7 @@ module TurboTests def finish end_time = Time.now - delegate_to_formatters(:stop, RSpec::Core::Notifications::NullNotification) + delegate_to_formatters(:stop, RSpec::Core::Notifications::ExamplesNotification.new(self)) delegate_to_formatters(:start_dump, RSpec::Core::Notifications::NullNotification)