Created
January 25, 2012 02:33
-
-
Save leemcalilly/1674257 to your computer and use it in GitHub Desktop.
visit /login
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 routes to the login page" do | |
visit login_path | |
current_path.should == "/login" | |
print page.html | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rake
/Users/lee/.rvm/rubies/ruby-1.9.3-p0/bin/ruby -S rspec ./spec/requests/password_resets_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
F
Failures:
Failure/Error: current_path.should == "/login"
expected: "/login"
got: "/" (using ==)
./spec/requests/password_resets_spec.rb:8:in `block (2 levels) in <top (required)>'
Finished in 0.05733 seconds
1 example, 1 failure