+ assert_redirected_to root_path
+
+ post login_path, :params => { :username => " #{user.display_name}", :password => "test" }
+ assert_redirected_to root_path
+
+ post login_path, :params => { :username => "#{user.display_name} ", :password => "test" }