I am working through the depot application using the “b9” iteration of the book. So far, everything is fine up to the point where I try to run my tests.
I am getting the following errors (abbreviated) when I run the “rake test” command as per page 98:
1) Error: test_should_create_product(ProductsControllerTest): FixturesFileNotFound: Could not find /Users/Sam/Sites/depot/test/fixtures/roducts.yml or /Users/Sam/Sites/depot/test/fixtures/roducts.csv
So, to me it looks like there is some kind of problem with the code that generates the name of the fixture file. As you can see it is missing the first letter of the filename.
I’m on OS X Snow Leopard, version info:
samimac:~ Sam$ ruby --version rubinius 1.1.0 (1.8.7 42228cee 2010-09-23 JI) [x86_64-apple-darwin10.4.0] samimac:~ Sam$ rails --version Rails 3.0.0
Let me know if I can provide any further information to help diagnose the problem.
ps. Love the book!