mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Add missing object context needed for tests to be run alone
This commit is contained in:
@@ -454,7 +454,7 @@ module ActionController
|
||||
end
|
||||
|
||||
def test_render_event_is_emmited
|
||||
ActiveSupport::Notifications.subscribe('render.active_model_serializers') do |name|
|
||||
::ActiveSupport::Notifications.subscribe('render.active_model_serializers') do |name|
|
||||
@name = name
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user