Skip to content

Instantly share code, notes, and snippets.

@rgould
Created December 14, 2011 22:55
Show Gist options
  • Save rgould/11f5a4ce4f33b33df420 to your computer and use it in GitHub Desktop.
Save rgould/11f5a4ce4f33b33df420 to your computer and use it in GitHub Desktop.
Run filtered including {:focus=>true}
OrdersController
#show
should render edit (FAILED - 1)
should not permit users to access other orders
Failures:
1) OrdersController#show should render edit
Failure/Error: response.should render_template(:edit)
Expected block to return true value.
# ./spec/controllers/orders_controller_spec.rb:17:in `block (3 levels) in <top (required)>'
Finished in 2.35 seconds
2 examples, 1 failure
Failed examples:
rspec ./spec/controllers/orders_controller_spec.rb:13 # OrdersController#show should render edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment