plataformatec/responders — Issue #32: rspec faillures
Author: denispeplin
Created: 2012-02-08 18:38:03+00:00
State: open

Failures:

1) ProductsController POST create with invalid params re-renders the 'new' template
Failure/Error: response.should render_template("new")
expecting <"new"> but rendering with <"">
# ./spec/controllers/products_controller_spec.rb:100:in `block (4 levels) in '
Failures:

1) ProductsController POST create with invalid params re-renders the 'new' template
Failure/Error: response.should render_template("new")
expecting <"new"> but rendering with <"">
# ./spec/controllers/products_controller_spec.rb:100:in `block (4 levels) in '

2) ProductsController PUT update with invalid params re-renders the 'edit' template
Failure/Error: response.should render_template("edit")
expecting <"edit"> but rendering with <"">
# ./spec/controllers/products_controller_spec.rb:144:in `block (4 levels) in '

Finished in 0.77526 seconds
30 examples, 2 failures, 2 pending

Failed examples:

rspec ./spec/controllers/products_controller_spec.rb:96 # ProductsController POST create with invalid params re-renders the 'new' template
rspec ./spec/controllers/products_controller_spec.rb:139 # ProductsController PUT update with invalid params re-renders the 'edit' template
2) ProductsController PUT update with invalid params re-renders the 'edit' template
Failure/Error: response.should render_template("edit")
expecting <"edit"> but rendering with <"">
# ./spec/controllers/products_controller_spec.rb:144:in `block (4 levels) in '

Finished in 0.77526 seconds
30 examples, 2 failures, 2 pending

Failed examples:

rspec ./spec/controllers/products_controller_spec.rb:96 # ProductsController POST create with invalid params re-renders the 'new' template
rspec ./spec/controllers/products_controller_spec.rb:139 # ProductsController PUT update with invalid params re-renders the 'edit' template