I am making sample depot application by hot latest version of AWD book. I tried to run ‘rake test’ after iteration F1 and I have a bunch of errors like this
ActionView::Template::Error: 'nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.
test/controllers/carts_controller_test.rb:9:in block in <class:CartsControllerTest>'
I also tried to run test in AWD sample source from here http://media.pragprog.com/titles/rails4/code/rails4-code.zip depot_m has the same errors. I goggled this error but I can’t understand what does it mean and how I can fix it.