rack-flash icon indicating copy to clipboard operation
rack-flash copied to clipboard

Better doc for tests

Open megatux opened this issue 10 years ago • 0 comments

A minimal note on Readme file to test the flash value would be great. I found this way works for me (minitest, rack-test)

assert_equal 'my message', last_request.env['x-rack.flash'][:alert]

megatux avatar Sep 04 '15 19:09 megatux