After the user logins in successfully, they get redirected to another page which uses a different controller, when I do the following:
assert_equal "Logged in successfully", flash[:notice]
it throws error message. Is there any other way of checking the flash notice? TIA