Replace removed method mimeType with mime_type
Don't rely on before(:all) blocks, because we clean the repo before each request