Add missing object context needed for tests to be run alone

This commit is contained in:
Benjamin Fleischer
2016-03-16 23:52:31 -05:00
parent 408daae045
commit 39623e8ba4
2 changed files with 4 additions and 2 deletions

View File

@@ -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