Skip to content
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

Mime type is set to invalid/invalid #2520

Closed
tiagoovieira opened this issue Nov 16, 2020 · 1 comment
Closed

Mime type is set to invalid/invalid #2520

tiagoovieira opened this issue Nov 16, 2020 · 1 comment

Comments

@tiagoovieira
Copy link

I have a couple of specs to test CSV uploads in the application, I create the file as following

let(:file) { fixture_file_upload('files/test.csv', 'text/csv') }

and I validate if the file is has a content_type of text/csv when I store the upload on the database. I upgraded carrierwave from 1.3 to 2.1, and that validation fails because the file has the content_type set to invalid/invalid

Is this a known issue?

@tiagoovieira
Copy link
Author

duplicate #2424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant