Displaying 1 result from an estimated 1 matches for "intefr".
Did you mean:
inter
2006 Aug 17
1
expectations on stubs (stubba) or mock methods on existing classes?
Hello,
First, thanks for releasing Mocha. As someone who''s been practicing
TDD much longer than I''ve been using Rails, one of my biggest
complaints has always been the fact that the "Unit" tests are more
like intefration tests because of how tightly coupled the domain model
is when using ActiveRecord. Stubba looks like it could really help
aleviate this problem.
The one problem I''m having though, is that I want to be able to stub
out a method on an existing class _and_ use the mock expectations on
th...