Created
October 5, 2012 05:18
-
-
Save svs/3838232 to your computer and use it in GitHub Desktop.
Standard RSpec Controller Test Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ItemsController | |
DELETE destroy | |
destroys the requested item | |
redirects to the items list | |
GET show | |
assigns the requested item as @item | |
GET new | |
assigns a new item as @item | |
POST create | |
with valid params | |
redirects to the created item | |
assigns a newly created item as @item | |
creates a new Item | |
with invalid params | |
assigns a newly created but unsaved item as @item | |
re-renders the 'new' template | |
PUT update | |
with valid params | |
redirects to the item | |
assigns the requested item as @item | |
updates the requested item | |
with invalid params | |
assigns the item as @item | |
re-renders the 'edit' template | |
GET edit | |
assigns the requested item as @item | |
GET index | |
assigns all items as @items | |
Finished in 0.3961 seconds | |
16 examples, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment