Skip to content

Commit

Permalink
Ensure that tests pass on Active Support 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
erichmachado committed Dec 10, 2024
1 parent b8c0fca commit 0a2c4e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def finish(name, id, payload)

describe 'instrument' do
after do
ActiveSupport::Notifications.notifier.all_listeners_for(notification_name).each do |listener|
ActiveSupport::Notifications.notifier.listeners_for(notification_name).each do |listener|
ActiveSupport::Notifications.unsubscribe(listener)
end
end
Expand Down

0 comments on commit 0a2c4e2

Please sign in to comment.