Skip to content

Commit 16cdaeb

Browse files
committed
Disable colorization in rspec.
This is necessary for now because rspec will attempt to colorize failures that have binary strings. It currently does a poor job of this, so go back to the non-colorized behavior as was in the previous version of rspec.
1 parent a9843b2 commit 16cdaeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
require "ssh_data"
22
require "ed25519"
33

4+
RSpec.configure do |config|
5+
config.color_mode = :off
6+
end
7+
48
REPO_PATH = File.expand_path(File.join(__FILE__, "..", ".."))
59
FIXTURE_PATH = File.expand_path(File.join(REPO_PATH, "spec", "fixtures"))
610

0 commit comments

Comments
 (0)