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