webrat is eating flash messages

5 views
Skip to first unread message

Bharat

unread,
Aug 14, 2010, 11:13:11 PM8/14/10
to webrat
I am upgrading a Rails 2.3.5 app to Rails 3 via Rails 2.3.8.
Currently, I am trying to finish up porting my tests to work with
Rails 2.3.8. Unfortunately, Webrat seems to be eating those flash
messages that are set in the application that should appear after re-
direct. An interesting fact is that if you use flash.now and do not
redirect then the flash messages are correctly kept.
I suspect Webrat is getting confused because of the rails_xss plugin
that I have for achieving the Rails 3 compatibility?
Reply all
Reply to author
Forward
0 new messages