Controller tests
Angular Flash and testing flash error
Rails controller
Browser-based test
Some alert to show you