Created
May 12, 2014 11:17
-
-
Save t-oginogin/1fb9137514cd13302546 to your computer and use it in GitHub Desktop.
Rails MiniTestのControllerテストでflashの内容をテストする ref: http://qiita.com/t_oginogin/items/22bc1fbfedf23da34ba5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| assert_match /error meesage/, @controller.session['flash']['flashes'][:error] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment