Flash.now and functional testing

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs