This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.
has_flash?()
Do we have a flash?
# File actionpack/lib/action_controller/test_process.rb, line 226 def has_flash? !flash.empty? end