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

Mark Dodwell
Tue, 27 May 2008 07:52:23 -0000

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/.