Would anyone happen to know how to stub a call to S3 from Paperclip?
I've searched every where and no one seems to have posted anything about
this. I've done very little in the way of spec'ing dependencies on
external services, so any ideas on how to do this with Paperclip & S3
would be most appreciated. I'm happy with stubbing out Thinking Sphinx -
would Paperclip be much different to this (?);

    def do_get
      ThinkingSphinx::Search.stub!(:search).and_return(users)
      get :index, :search => "bob"
    end

Thanks
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to