Redo model specs without all that mocking and stubbing
xaviershay opened this issue · comments
Xavier Shay commented
Switch over to using factory_girl like the features (or for bonus points, switch them both to Machinist)
Dreamr commented
going to start with FG since it is what I know well :)
Dreamr commented
Mind if I split the factories to their own files and move them to /spec/support/factories?
ie...
/spec/support/post_factory.rb
/spec/support/comment_factory.rb
Xavier Shay commented
yep, though spec/support/factories/post.rb is perhaps better?
Dreamr commented
works for me, expect it in one of my next patches
Adam Klunick commented
Any word on this? If not I can get started.
Xavier Shay commented
go man go
Xavier Shay commented
meh