Skip to content

Instantly share code, notes, and snippets.

@hardbap
Created September 26, 2008 00:35
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 hardbap/12995 to your computer and use it in GitHub Desktop.
Save hardbap/12995 to your computer and use it in GitHub Desktop.
1) Failure:
test: Given a user a POST to #create with bad credentials should return the correct value from the session for key :user_id. (SessionsControllerTest)
Expected 63 but was .
<63> expected but was
<nil>.
2) Failure:
test: Given a user on GET to /sessions/new should have a session form.
Expected at least 1 element matching "form[action='/session'][method='post']", found 0.
<false> is not true.
3) Failure:
test: A logged in user viewing their account on GET to /users/:id/edit should have a user form. (UsersControllerTest)
Expected at least 1 element matching "input[type='submit']", found 0.
<false> is not true.
4) Failure:
test: The public on GET to /users/new should have a user form. (UsersControllerTest)
Expected at least 1 element matching "input[type='submit']", found 0.
<false> is not true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment