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.
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
andUPLOADCARE_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.