# Flash.now and functional testing

**URL:** <https://www.ruby-forum.com/t/flash-now-and-functional-testing/106376>\
**Category:** Rails\
**Created:** [June 9, 2007, 10:53am UTC](https://www.ruby-forum.com/t/flash-now-and-functional-testing/106376 "2007-06-09T10:53:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/65b543/32.png) [@nuno](https://www.ruby-forum.com/u/nuno)\
**Post date:** [June 9, 2007, 10:53am UTC](https://www.ruby-forum.com/t/flash-now-and-functional-testing/106376/1 "2007-06-09T10:53:53Z")

</div>

Hi, I can’t find a solution to make assertion againt flash[] because the  
content is cleared at the end of controller execution…

I use flash.now for every notice or error messaging because without .now  
the messages are never cleared…

Any workaround ?

Thanks
