stubbing aws-sdk for tests?

10 views
Skip to first unread message

John Joseph Bachir

unread,
Dec 15, 2011, 10:43:22 PM12/15/11
to Paperclip Plugin
Is there a recommended way to configure Paperclip with aws-sdk (in master) to work well in a test environment? Previously with aws/s3 I didn't do any special configuration for things to work in tests. Now my test raise:

     AWS::Errors::Base:

So, it seems that the library is trying to access network resources during tests and failing.

Thanks,
John
Reply all
Reply to author
Forward
0 new messages