Guest User

Untitled

a guest
Jun 19th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. 1)
  2. 'User does not rehash password' FAILED
  3. expected: #<User id: 1, login: "quentin2", identity_url: nil, name: "", email: "quentin@example.com", crypted_password: "261fd559c11e3931bd9f87fe8babb4ee8b196c56", salt: "356a192b7913b04c54574d18c28d46e6395428ab", remember_token: "77de68daecd823babbb58edb1c8e14d7106e83bb", activation_code: nil, state: "active", remember_token_expires_at: "2009-05-29 21:25:37", activated_at: "2009-05-23 21:25:37", deleted_at: nil, created_at: "2009-05-23 21:25:37", updated_at: "2009-05-28 21:25:38">,
  4. got: nil (using ==)
  5. ./spec/models/user_spec.rb:155:
  6.  
  7. 2)
  8. 'User authenticates user' FAILED
  9. expected: #<User id: 1, login: "quentin", identity_url: nil, name: "", email: "quentin@example.com", crypted_password: "261fd559c11e3931bd9f87fe8babb4ee8b196c56", salt: "356a192b7913b04c54574d18c28d46e6395428ab", remember_token: "77de68daecd823babbb58edb1c8e14d7106e83bb", activation_code: nil, state: "active", remember_token_expires_at: "2009-05-29 21:25:37", activated_at: "2009-05-23 21:25:37", deleted_at: nil, created_at: "2009-05-23 21:25:37", updated_at: "2009-05-28 21:25:37">,
  10. got: nil (using ==)
  11. ./spec/models/user_spec.rb:163:
  12.  
  13. 3)
  14. Test::Unit::AssertionFailedError in 'UsersController route generation should route users's 'update' action correctly'
  15. The recognized options <{"action"=>"show", "id"=>"1", "controller"=>"users"}> did not match <{"action"=>"update", "id"=>"1", "controller"=>"users"}>, difference: <{"action"=>"update"}>
  16. ./spec/controllers/users_controller_spec.rb:114:
  17.  
  18. 4)
  19. Test::Unit::AssertionFailedError in 'UsersController route generation should route users's 'destroy' action correctly'
  20. The recognized options <{"action"=>"show", "id"=>"1", "controller"=>"users"}> did not match <{"action"=>"destroy", "id"=>"1", "controller"=>"users"}>, difference: <{"action"=>"destroy"}>
  21. ./spec/controllers/users_controller_spec.rb:118:
  22.  
  23. 5)
  24. 'UsersController activates user' FAILED
  25. expected: #<User id: 2, login: "aaron", identity_url: nil, name: "", email: "aaron@example.com", crypted_password: "92e0e243685cb0159b1cec342fbb9a92fc8a86fa", salt: "da4b9237bacccdf19c0760cab7aec4a8359010b0", remember_token: nil, activation_code: "1b6453892473a467d07372d45eb05abc2031647a", state: "pending", remember_token_expires_at: nil, activated_at: nil, deleted_at: nil, created_at: "2009-05-27 21:25:37", updated_at: "2009-05-28 21:25:37">,
  26. got: nil (using ==)
  27. ./spec/controllers/users_controller_spec.rb:64:
  28.  
  29. 6)
  30. Test::Unit::AssertionFailedError in 'SessionsController route generation should route the create sessions correctly'
  31. The recognized options <{"action"=>"show", "controller"=>"sessions"}> did not match <{"action"=>"create", "controller"=>"sessions"}>, difference: <{"action"=>"create"}>
  32. ./spec/controllers/sessions_controller_spec.rb:104:
  33.  
  34. 7)
  35. 'AccessControlTestController requesting json; I am logged in and Login is required succeeds' FAILED
  36. expected "{\"success\": \"json\"}", got "HTTP Basic: Access denied.\n"
  37. ./spec/controllers/access_control_spec.rb:62:
  38.  
  39. 8)
  40. 'AccessControlTestController requesting xml; I am logged in and Login is required succeeds' FAILED
  41. expected "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<hash>\n <success>xml</success>\n</hash>\n", got "HTTP Basic: Access denied.\n"
  42. ./spec/controllers/access_control_spec.rb:62:
  43.  
  44. Finished in 2.690429 seconds
  45.  
  46. 268 examples, 8 failures
Add Comment
Please, Sign In to add comment