On 20 November 2010 13:00, Neil Bye <[email protected]> wrote: > Colin Law wrote in post #962765: >> [...] >> Presumably somewhere in your code you have attempted to prevent the >> creation without a story. > > That can't be so because this works > > n...@baby6:~/annnette$ script/console > Loading development environment (Rails 2.2.3) >>> a = Annnette.create(:story => 'neil') > => #<Annnette id: 3, story: "neil", created_at: "2010-11-20 12:58:11", > updated_at: "2010-11-20 12:58:11">
I am losing track of this conversation. I think we had better start again. Can you explain: 1. What the test you wrote is attempting to check. 2. What code you have written in the application to perform the operation that the test is checking. Colin -- 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.

