title: Should I stub the model in Factory girl or in the spec file while testing?
body: <p>Almost every spec file I come accross I end up writing stuff like:</p>
  
  <pre><code>  before :each do
      @cimg = Factory.build :cimg_valid
      @cimg.stub(:validate_img).and_return true
      @cimg.stub(:validate_img_url).and_return true
      @cimg.stub(:save_images).and_return true
      @cimg.stub(:process_image).and_return true
      @cimg.stub(:img).and_return true
    end
  </code></pre>
  
  <p>I mean, the model I get from Factory.build is completely valid. But if I don't stub that stuff it saves things in the filesystem, and validates stuff I'm not testing...</p>
  
  <p>What I mean, I think it would be cleaner to do something like this:</p>
  
  <pre><code>  before :each do
      @cimg = Factory.build :cimg_for_testing_tags
    end
  </code></pre>
  
  <p>If stubbing within the Factory is even possible.</p>
  
  <p>What is the proper way to stub the model?</p>