[rspec-users] stubbing out after_create AR method?
lists at ruby-forum.com
Mon Feb 14 19:59:09 EST 2011
Mike Mazur wrote in post #981665:
> Perhaps one way to approach this is to have WebMock return an
> appropriate success message in response to the network call that
> :etl_attributes makes.
Ah - good point. With all the options for stubbing and mocking, I'd
forgotten that one. Factory Girl is creating premise objects that will
generate different URLs, but I can use the regex option for WebMock to
Thanks for getting me unstuck!
Posted via http://www.ruby-forum.com/.
More information about the rspec-users