has_flash_with_contents?()
Do we have a flash that has contents?
# File actionpack/lib/action_controller/test_process.rb, line 231 def has_flash_with_contents? !flash.empty? end