Skip to content

Instantly share code, notes, and snippets.

@hardbap
Created September 16, 2008 16:56
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/11065 to your computer and use it in GitHub Desktop.
Save hardbap/11065 to your computer and use it in GitHub Desktop.
...............F.F.F.........................F.F.F.F.F.F
Finished in 0.619878 seconds.
1) Failure:
test: A logged in user dealing with another user's account on get :edit, :id => @user.to_param should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
2) Failure:
test: A logged in user dealing with another user's account on get :show, :id => @user.to_param should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
3) Failure:
test: A logged in user dealing with another user's account on put :update, :id => @user.to_param, :user => {} should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
4) Failure:
test: The public on delete :destroy, :id => 1 should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
5) Failure:
test: The public on get :edit, :id => 1 should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
6) Failure:
test: The public on get :new should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
7) Failure:
test: The public on get :show, :id => 1 should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
8) Failure:
test: The public on post :create, :user => {} should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
9) Failure:
test: The public on put :update, :id => 1 should redirect to "root_url". (UsersControllerTest)
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/login>.
56 tests, 74 assertions, 9 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment