Stuart I did some research on the current practices as I wanted to know too - wrote up my findings here: http://webtempest.com/ruby-on-rails-3-testing-getting-into-the-groove/
On Sep 10, 3:53 pm, Stuart Liston <stuart.lis...@gmail.com> wrote: > Hi ladies and gents > > I joined this group a few week ago and keep an eye on it but am a little too > 'green' to help out a lot of the time. Instead, my first mail will be to > look for advice! > > I'm looking to test some model (HABTM) relationships in a small application > I'm building, and I'm keen to show some more experienced developers how I'm > going about it so that I don't start to get into bad habits. > > So with that in mind, does anyone fancy having a quick gander over the > following gist and telling me if I'm approaching the problem in a reasonable > way? My specs *are* green, it's more a 'best practice' thing... > > https://gist.github.com/1207931 > > (The assumption would be that I have rspec and factorygirl set up correctly) > > Thanks for your time in advance! > Stu -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.