public Method

TestResponseBehavior.has_flash_with_contents?

do we have a flash that has contents?

Source Code

# File action_controller/test_process.rb, line 236
def has_flash_with_contents?
  !flash.empty?
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.