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 rspec anywhere).
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 rspec anywhere).
If you use rake to run rspec tests then you can edit spec/spec.opts
Or simply add alias spec=spec --color --format specdoc
to your ~/.bashrc file like me.