> to stub or mock this in some way. I think I just need some > guidance on how to approach something like this. > > Do I just ignore the implementation details? > Do I push the actual posting of data to a private method and mock > that method so that I can verify that it is being called? > Would you recommend I actually hit the web service?
Oh yeah - and also, you probably will want an integration test which actually hits the web service at least once just to check that the API hasn't changed (and so on, if you can actually do it). But that's what the story runner is for (and not mock objects). Scott _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
