Test with Capybara
DavertMik opened this issue · 3 comments
DavertMik commented
I'm wondering how Gritter messages can be tested with Capybara?
RobinBrouwer commented
Sorry, I don't know. Haven't tried that.
DavertMik commented
There would be cool if there was a flash fallback. In this case the messages can be shown in page inside HTML and can be matched by selectors. Something like 'non-javascript' version
RobinBrouwer commented
The gflash messages are now also stored inside the Rails flash messages. New feature in v1.1.0. Hope that helps a bit (since it doesn't use a session).