Re: [rspec-users] Foreign key constraints, fixtures, and rake task

2007-08-27 Thread Tilmann Singer
* Jay Levitt <[EMAIL PROTECTED]> [20070827 03:51]: > I've got a spec that loads a fixture in the "before" block. This works > fine running scripts/spec, but when I run rake spec instead, I get: > > ActiveRecord::StatementInvalid in 'User in fixture :quentin with an IM > service but no IM name s

Re: [rspec-users] Transactional fixtures not working as expected

2007-08-10 Thread Tilmann Singer
* Michael Hamann <[EMAIL PROTECTED]> [20070808 19:46]: > I am quite new to BDD and I just wrote my first tests. Suddenly I > received unexpected results because in a model test I load only > users-fixtures but when the views-fixtures in which I load the > posts-fixtures, are run before this model-t