Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit e9aa71e

Browse files
committed
Always use color.
1 parent eec1f5b commit e9aa71e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ def run(reporter=nil)
8989
end
9090
end
9191

92-
def in_editor?
93-
ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM')
94-
end
95-
9692
module EnvHelpers
9793
def with_env_vars(vars)
9894
original = ENV.to_hash
@@ -135,7 +131,7 @@ def without_env_vars(*vars)
135131
end
136132

137133
# runtime options
138-
c.color = !in_editor?
134+
c.color = true
139135
c.include EnvHelpers
140136
c.filter_run_excluding :ruby => lambda {|version|
141137
case version.to_s

0 commit comments

Comments
 (0)