railstutorial.org - Login with remembering tests not failing -


normally i'd happy tests passing, not in case. i'm going through tutorial again, making own app. have few differences tutorial code, (hopefully) cosmetic. logging in , session stuff should same.

after slogging through section 8.4.2 login remembering, tests supposed fail (listing 8.37), because there's no way log out. mine pass.

does know test supposed fail? don't know how track down problem without failure.

i missed section on logging out. after adding code, expected failure in "login valid information followed logout"

delete logout_path  assert_not is_logged_in?  assert_redirected_to root_url f ollow_redirect!  assert_select "a[href=?]", login_path <----- fails 

Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -