# File lib/action_dispatch/testing/test_response.rb, line 85 def has_session_object?(name=nil) ActiveSupport::Deprecation.warn("response.has_session_object? has been deprecated. Use session[name] instead", caller) !session[name].nil? end