title: rspec and carrierwave - how set an image url directly (BYPASS carrierwave uploader during testing)
body: <p>I'm writing some rspec specs where an object's widgetpic field needs to point to an actual image, but <em>without</em> using the carrierwave uploader.</p>
  
  <p>When in test, I just want to bypass the uploader and manually set a test picture's url. Specifically I have a few test images online and simply want to have <code>foo.widgetpic.url</code> to return some fixed location:"<a href="http://mybucket.s3.amazonaws.com/test_pix/test1.png" rel="noreferrer">http://mybucket.s3.amazonaws.com/test_pix/test1.png</a>"</p>
  
  <p>The Widget model has:</p>
  
  <pre><code>mount_uploader :widgetpic, WidgetPicUploader
  </code></pre>
  
  <p>So in my FactoryGirl factory I assume I need to do something like this</p>
  
  <pre><code>trait :test_pic do
     SOMETHING "http://mybucket.s3.amazonaws.com/test_pix/test1.png"
  end
  </code></pre>
  
  <p>I tried setting widgetpic_url and remote_widgetpic_url but that didn't work (widgetpic.url still returns my default 'no image' image defined in my uploader).</p>