Displaying 1 result from an estimated 1 matches for "flashhelper".
Did you mean:
flash_helper
2006 Jul 31
2
Testing the flash.now
What''s the best way to test the flash when you use flash#now ? For
example, if I set the flash in my controller:
flash.now[:notice] = ''This will only show up on this action.''
How do I test it? Normally I would do:
assert_equal ''This will only show up on this action.'', flash[:notice]
But this doesn''t seem to work with flash.now.
Any