search for: a12280131

Displaying 1 result from an estimated 1 matches for "a12280131".

Did you mean: 1228131
2007 Aug 22
2
stubbing network calls
I have a couple of methods which make networks calls. Where''s the best place to stub them so they are stubbed for every description automatically? I tried in spec_helper.rb but they are no longer stubbed when a spec runs. at the moment, I''m checking for the test environment in the methods themselves, and returning a dummy value, but I''m sure there''s a better