[rspec-users] Mocking Models in Controller Specs...

Mark Dodwell lists at ruby-forum.com
Tue May 27 03:52:23 EDT 2008

Also, any opinions on using a Factory pattern for instantiating mocks of 
models? I like the idea of maintaining mocks in one place as I 
frequently use them across several specs for models that have 
associations. Do you think it would create dependency issues between the 
specs using that Factory?

~ Mark
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list