search for: assert_session_has_no

Displaying 2 results from an estimated 2 matches for "assert_session_has_no".

2005 May 18
10
Salted Login Generator issues
Hello all, I''ve just installed and begun to integrate the salted login generator. So far I''m very impressed, though I''ve hit a few snags along the way. Unfortunately, I''ve met the first one that I haven''t been able to resolve on my own. When I hit the login action, I get errors in my log files. The specific error with trace is included below.
2006 Jul 13
10
Problem with flashes staying on between pages
...if we navigate to a different page def test_login_flash #can''t login with incorrect password post "/user/login", :user=> {:email => "bob@mcbob.com", :password => "not_correct"} assert_response :success assert_session_has_no :user assert_flash_has :warning assert_tag :div, :attributes => {:class => ''notice''} assert_template "user/login" # Fetch the root and see if the flash notice is still there get ''/'' assert_response :success assert_temp...