+ post "/login", "username" => "test@example.com", "password" => "test", :referer => "/user/test2"
+ assert_response :redirect
+ follow_redirect!
+ assert_response :success
+ assert_template "user/view"
+ get "/user/test2/account"
+ assert_response :success
+ assert_template "user/account"