Gavin wrote: > Why not test by creating comments - bypass the comments fixtures all > together? > > def test_should_be_able_to_have_many_comments > blog = blog.create!(valid_blog_attributes) > assert_difference "blog.comments" do > blog.comments.create!(valid_comment_attributes) > end > end > > what version of rails are you using? > > On Apr 16, 10:46�am, Joshua Muheim <[email protected]>
Thanks, but I'm doing it now the hardwired way. :-) -- 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 -~----------~----~----~----~------~----~------~--~---

