spec/spec_helper.rb in bencodr-3.0.0 vs spec/spec_helper.rb in bencodr-3.0.1
- old
+ new
@@ -3,9 +3,11 @@
require 'rspec'
require 'fuubar'
require 'custom_matchers'
require 'shared_examples'
-Rspec.configure do |c|
+$ruby19 = RUBY_VERSION =~ /1\.9/
+
+RSpec.configure do |c|
c.formatter = Fuubar
c.color_enabled = true
-end
\ No newline at end of file
+end