Most people want to know why their tests are failing. I want to know
why they are passing. They really shouldn't be.
The test environment database defined in database.yml does not exist.
I have not altered the auto-generated tests at all. When I run the
following command from the site root:
I expect that this should fail. However, I get
"1 tests, 1 assertions, 0 failures, 0 errors"
I'm working my way through the Prag Prog Agile Rails book. In the
testing section (page 186), the book says that these tests should fail
until I create the testing database. Is the book wrong, or do I have
magic unit tests?
RoR Version: 1.2.3
Ruby Version: 1.8.6
Thanks for the help.