我使用命令:docker run --rm -it govim bash -l运行docker图像,但它不显示颜色输出.如果我source ~/.bash_profile或bash -l再次运行,输出将正确输出颜色.
如何为测试纸夹上传创建灯具文件?我搜索少数结果谷歌但总是使用FactoryGirl.我尝试但没有工作:
img:
image: <%= fixture_file_upload(Rails.root.join('test/fixtures/test_img.jpg'), 'image/jpeg') %>
Run Code Online (Sandbox Code Playgroud)