Hi,
On Wed, Apr 13, 2011 at 16:56, Paul S. wrote:
> I have an Address model that has a before_validation callback that goes
> off and geocodes the address.
>
> I'm concerned that for all the tests in my Address model I'm going to be
> triggering that callback, even when it's not what I'm testing.
I have an Address model that has a before_validation callback that goes
off and geocodes the address.
I'm concerned that for all the tests in my Address model I'm going to be
triggering that callback, even when it's not what I'm testing.
Is there a nice way to stub the callback by default for all