test/environment.rb in bencode-0.6.0 vs test/environment.rb in bencode-0.7.0
- old
+ new
@@ -1,8 +1,12 @@
require 'rubygems'
-require 'test/unit'
-require 'shoulda'
+require 'bundler/setup'
+
+Bundler.require(:default, :test)
+
+MiniTest::Unit.autorun
+
require File.dirname(__FILE__) + '/../lib/bencode'
Dir.glob(File.dirname(__FILE__) + '/shoulda_macros/*.rb').each do |macro|
require macro
end