On 10/10/2008, at 10:46 AM, Nathan de Vries <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-10-10 at 10:32 +1100, Chris Lloyd wrote: >> If there is something wrong with your db it'll cause all your specs >> to >> fail, but not for the reason they should be failing. > > Do you by any chance have any tests which check for what happens in > your > application when you start getting ActiveRecord::RecordNotSaved > errors? > Or database adapter errors? Stories or integration specs should cover these IMHO. The behavour of your model shouldn't be coupled to wether or not your db can dave a record. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails Oceania" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
