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