Skip to content

Instantly share code, notes, and snippets.

@brobertsaz
Created November 5, 2012 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brobertsaz/4020806 to your computer and use it in GitHub Desktop.
Save brobertsaz/4020806 to your computer and use it in GitHub Desktop.
devise login failure
[1] pry(#<RSpec::Core::ExampleGroup::Nested_1>)> @user
=> #<User id: 7, is_active: true, is_admin: false, specialty_id: 0, state_id: nil, email: "test@example.com", password: "", first_name: nil, last_name: nil, send_email: nil, last_visit_date: nil, city: nil, zip: nil, encrypted_password: "$2a$04$9ktAdsmN27rQDBIDjWnYfufwFOSP8CKBiuHBz6BYKAu8...", password_salt: nil, reset_password_token: nil, sign_in_count: 0, failed_attempts: 0, current_sign_in_ip: nil, last_sign_in_ip: nil, confirmed_at: nil, created_at: "2012-11-05 22:19:28", current_sign_in_at: nil, last_sign_in_at: nil, locked_at: nil, remember_created_at: nil, reset_password_sent_at: nil, updated_at: "2012-11-05 22:19:28">
[2] pry(#<RSpec::Core::ExampleGroup::Nested_1>)> @user.password
=> "password"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment