uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

Make File:external_copy test pass in Travis #29

Closed vizvamitra closed 7 years ago

vizvamitra commented 7 years ago

Now there are specs for features enabled only for a payed accounts. We want to test all our features, so we should set up an account which have enough permissions to run tests. It's credentials should be added to uploadcare/uploadcare-ruby repo setting in Travis. Specs will expect them to be put into UPLOADCARE_PUBLIC_KEY and UPLOADCARE_SECRET_KEY env variables. If there isn't any, specs will use demo account.

All specs/spec groups that test payed features should be tagged with :payed_feature. This will make them to run only for non-demo accounts.


Also I've found a bug in a test.