-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't talk to server during tests #23
Comments
This was fixed and included since v1.0.29 of Cloudinary GEM. |
@nadavs could you provide an example of setting enable_processing to false? |
You can set if Rails.env.test? or Rails.env.cucumber?
CarrierWave.configure do |config|
config.enable_processing = false
end
end For more details see: https://github.com/carrierwaveuploader/carrierwave#testing-with-carrierwave |
Carrierwave's docs specify to do the following to speed up tests:
This doesn't work if you have
include Cloudinary::CarrierWave
in your uploader.Thanks!
The text was updated successfully, but these errors were encountered: