rack-flash
rack-flash copied to clipboard
Better doc for tests
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]