On 20 November 2010 11:08, Neil Bye <[email protected]> wrote: > I have created a test application. It only has one model. When I run > tests on it it runs but still comes up with the same error message ie > > 1) Failure: > test_should_not_be_valid_without_story(AnnnetteTest)
So your test is failing. Either you have written the test incorrectly or your application is not right. If you do not understand why the test is failing show us the code of the test and we may be able to help. > [./test/unit/annnette_test.rb:6:in That is the line in your test where it is failing > `test_should_not_be_valid_without_story' > > /home/neil/annnette/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:94:in > `__send__' > > /home/neil/annnette/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:94:in > `run']: > <nil> is not true. You have a test for something true, but it is actually nil. 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.

