Don’t Repeat My Mistake - assert_flash June 16
Purely to stop you making this error. Nothing useful comes up when searching for:
NoMethodError: undefined method `assert_flash'
The assert_flash method is now deprecated. If you are trying to run functional tests in Rails, what you are probably looking for is:
assert_flash_exists
assert_flash_not_empty
assert_flash_has 'hello'
assert_flash_has_no 'stds'
assert_flash_empty
assert_flash_has_no 'hello'
assert_flash_has_no 'qwerty'
assert_flash_equal 'my name is inigo montoya...', 'hello'
