test/test_helper.rb in ruby-prof-1.1.0 vs test/test_helper.rb in ruby-prof-1.2.0

- old
+ new

@@ -1,24 +1,12 @@ # encoding: UTF-8 -require "rubygems" -gem "minitest" -require 'singleton' - -# To make testing/debugging easier, test within this source tree versus an installed gem -dir = File.dirname(__FILE__) -root = File.expand_path(File.join(dir, '..')) -lib = File.expand_path(File.join(root, 'lib')) -ext = File.expand_path(File.join(root, 'ext', 'ruby_prof')) - -$LOAD_PATH << lib -$LOAD_PATH << ext - -require 'ruby-prof' - # Disable minitest parallel tests. The problem is the thread switching will cahnge test results # (self vs wait time) ENV["N"] = "0" + +require 'bundler/setup' require 'minitest/autorun' +require 'ruby-prof' class TestCase < Minitest::Test end \ No newline at end of file