Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use same color config method as core

  • Loading branch information...
commit 94fce05ade46ca1b51fa96ba2c425bc78a2100ff 1 parent d427bac
Alex Coplan authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/rspec/matchers/configuration.rb
2  lib/rspec/matchers/configuration.rb
@@ -43,7 +43,7 @@ def syntax
43 43
       # fallback if rspec core not available
44 44
       if defined?(RSpec::Core)
45 45
         def color?
46  
-          RSpec.configuration.color
  46
+          RSpec.configuration.color_enabled?
47 47
         end
48 48
       else
49 49
         attr_writer :color

0 notes on commit 94fce05

Please sign in to comment.
Something went wrong with that request. Please try again.