Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit a997c12

Browse files
committed
example formatter support to allow specifying group
1 parent 1751bdb commit a997c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/support/formatter_support.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ def example_notification(specific_example = new_example)
249249
::RSpec::Core::Notifications::ExampleNotification.for specific_example
250250
end
251251

252-
def group_notification
253-
::RSpec::Core::Notifications::GroupNotification.new group
252+
def group_notification group_to_notify = group
253+
::RSpec::Core::Notifications::GroupNotification.new group_to_notify
254254
end
255255

256256
def message_notification(message)

0 commit comments

Comments
 (0)