On 20 November 2010 14:49, Neil Bye <[email protected]> wrote: > Michael Pavling wrote in post #962781: >> But you're testing a Model... so the controller code is not very >> useful to help with what's going on :-/ > > There is no code in models/annette.rb
no "validates_presence_of :annnette"? > I would be happy if any test worked If you're writing code to validate db updates in your controller, and trying to test them with unit tests, I suggest you take a couple of steps back, buy and read the "Agile Web Development With Rails" book, and move forward from there. Regards, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

