Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1)
- 'User does not rehash password' FAILED
- 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">,
- got: nil (using ==)
- ./spec/models/user_spec.rb:155:
- 2)
- 'User authenticates user' FAILED
- 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">,
- got: nil (using ==)
- ./spec/models/user_spec.rb:163:
- 3)
- Test::Unit::AssertionFailedError in 'UsersController route generation should route users's 'update' action correctly'
- The recognized options <{"action"=>"show", "id"=>"1", "controller"=>"users"}> did not match <{"action"=>"update", "id"=>"1", "controller"=>"users"}>, difference: <{"action"=>"update"}>
- ./spec/controllers/users_controller_spec.rb:114:
- 4)
- Test::Unit::AssertionFailedError in 'UsersController route generation should route users's 'destroy' action correctly'
- The recognized options <{"action"=>"show", "id"=>"1", "controller"=>"users"}> did not match <{"action"=>"destroy", "id"=>"1", "controller"=>"users"}>, difference: <{"action"=>"destroy"}>
- ./spec/controllers/users_controller_spec.rb:118:
- 5)
- 'UsersController activates user' FAILED
- 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">,
- got: nil (using ==)
- ./spec/controllers/users_controller_spec.rb:64:
- 6)
- Test::Unit::AssertionFailedError in 'SessionsController route generation should route the create sessions correctly'
- The recognized options <{"action"=>"show", "controller"=>"sessions"}> did not match <{"action"=>"create", "controller"=>"sessions"}>, difference: <{"action"=>"create"}>
- ./spec/controllers/sessions_controller_spec.rb:104:
- 7)
- 'AccessControlTestController requesting json; I am logged in and Login is required succeeds' FAILED
- expected "{\"success\": \"json\"}", got "HTTP Basic: Access denied.\n"
- ./spec/controllers/access_control_spec.rb:62:
- 8)
- 'AccessControlTestController requesting xml; I am logged in and Login is required succeeds' FAILED
- expected "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<hash>\n <success>xml</success>\n</hash>\n", got "HTTP Basic: Access denied.\n"
- ./spec/controllers/access_control_spec.rb:62:
- Finished in 2.690429 seconds
- 268 examples, 8 failures
Add Comment
Please, Sign In to add comment