I'm just reading it. TDD is a bit much for me initially!

One question, trying to understand the stated example..

def test_should_not_save_post_without_title
  post = Post.new
  assert !post.save
end

What does "!post.save" mean?
If I've understood correctly this test is testing that a new post does 
NOT save?

Am I right?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to