Skip to content

Commit 4e01bbb

Browse files
author
Aiden Scandella
committed
Configure rspec for documentation + color
This provides nicer output in e.g. jenkins. Change-Id: I422249b7e227c3e2064eaf1ad7186a271ada5597 Reviewed-on: https://gerrit.causes.com/23045 Tested-by: jenkins <jenkins@causes.com> Reviewed-by: Shane da Silva <shane@causes.com>
1 parent d79c86e commit 4e01bbb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/spec_helper.rb

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
require 'overcommit'
22

3+
RSpec.configure do |config|
4+
config.color_enabled = true
5+
config.tty = true
6+
config.formatter = :documentation
7+
end
8+
39
def exit(*args) ; end
410

511
# Silence output to STDOUT

0 commit comments

Comments
 (0)