spec/spec_helper.rb in bencodr-1.2.0 vs spec/spec_helper.rb in bencodr-2.0.0
- old
+ new
@@ -1,11 +1,10 @@
-# encoding: UTF-8
+require File.join(File.dirname(__FILE__), '..', 'lib', 'bencodr')
+require 'rspec'
+require 'fuubar'
+require 'custom_matchers'
+require 'shared_examples'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'bencodr'
-require 'spec'
-require 'spec/autorun'
-
-Spec::Runner.configure do |config|
-
+Rspec.configure do |c|
+ c.formatter = Fuubar
+ c.color_enabled = true
end
\ No newline at end of file