How do I globally configure RSpec to keep the '--color' and '--format specdoc' options turned on

前端 未结 6 824
日久生厌
日久生厌 2020-12-22 17:42

How do I set global configuration for RSpec in Ubuntu.

Specifically so, --color and --format specdoc stay turned on, across all my projects (ie every time I run rspe

6条回答
  •  甜味超标
    2020-12-22 17:53

    If you use rake to run rspec tests then you can edit spec/spec.opts

    http://rspec.info/rails/runners.html

提交回复
热议问题