Change Rubymine Rspec Color

a 夏天 提交于 2019-12-03 15:29:34

I got it running by doing the following two things:

  1. In your run/debug configurations, enter -c in the Runner options field
  2. In your spec_helper.rb, add the following code:

    RSpec.configure do |config|
      config.tty = true
    end
    

Additional info: http://rubyforge.org/pipermail/rspec-users/2011-January/019327.html

Inside spec_helper.rb:

RSpec.configure do |config|
  config.color = true
end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!