[rspec-users] stub_model() and ActiveRecord Associations
dchelimsky at gmail.com
Tue Aug 26 22:03:21 EDT 2008
On Tue, Aug 26, 2008 at 8:51 PM, Mark Wilden <mark at mwilden.com> wrote:
> On Tue, Aug 26, 2008 at 5:01 PM, David Chelimsky <dchelimsky at gmail.com>
>> @target_comment = stub_model(Target)
> That's what we do - what would the drawbacks be?
It's more invasive than I'd like. It's not all that risky though. I
just feel dirty whenever I mock methods on the objects I'm focused on.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users