First post, new RoR developer though I have 20 years of experience with other tools and the like. Searching the forum did not turn up this specific question.
Working my way through the book and came across this one issue I cannot resolve:
Finished tests in 0.535075s, 41.1157 tests/s, 82.2315 assertions/s.
1) Failure: CartsControllerTest#test_should_destroy_cart [/Users/tkyle/Source/RoR/depot/test/controllers/carts_controller_test.rb:48]: Expected response to be a redirect to http://test.host/ but was a redirect to http://test.host/carts. Expected “http://test.host/” to be === “http://test.host/carts”.
I’ve even tried looking at the code available via download and it does not resolve the 1 failure.
The code for the carts_controller is the same between what I’ve typed from the book and from the downloaded file.
Anyone have thoughts about how to resolve this unit test failure?