Created
January 25, 2012 16:46
-
-
Save leemcalilly/1677202 to your computer and use it in GitHub Desktop.
Password Reset Spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| it "successfully logs out" do | |
| visit root_path | |
| click_link "Log Out" | |
| visit login_path | |
| save_and_open_page | |
| end |
Author
Still fails. I think it's because the session is not the problem. I can get to the login page using click_link "Log In", it's just that visit login_path doesn't work
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
replace
click_linkwithclick_on- just wondering :P