Permalink
Browse files

use same color config method as core

  • Loading branch information...
1 parent d427bac commit 94fce05ade46ca1b51fa96ba2c425bc78a2100ff @alexcoplan committed Aug 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/matchers/configuration.rb
View
2 lib/rspec/matchers/configuration.rb
@@ -43,7 +43,7 @@ def syntax
# fallback if rspec core not available
if defined?(RSpec::Core)
def color?
- RSpec.configuration.color
+ RSpec.configuration.color_enabled?
end
else
attr_writer :color

0 comments on commit 94fce05

Please sign in to comment.