sebbacon/alaveteli — pull request #263 by jpmckinney (2011-10-11 19:43:45+00:00)
Title: Fixtures all

Using `fixtures :all` is a minor performance loss compared to the major maintenance headache of listing fixtures individually.

1. If you forget a fixture, you can be left wondering why the test is failing.
2. If you put the fixtures in the wrong order (and you haven't preloaded the fixtures), you can get odd errors like the following:

PGError: ERROR: insert or update on table "incoming_messages" violates foreign key constraint "fk_incoming_messages_raw_email"

3. If Postgresql fails enough times, you may lose you database connection:

PGError: no connection to the server

I'm just trying to test incoming_messages_spec.rb, so I only made the change here. However, it should be changed anywhere there are more than two fixtures.