Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't abuse load path
  • Loading branch information
semaperepelitsa committed Sep 25, 2012
1 parent c288a3e commit 37485cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions lib/spork/test_framework/minitest.rb
Expand Up @@ -7,13 +7,12 @@ def self.helper_file

def run_tests(argv, stderr, stdout)
require "minitest/unit"
$LOAD_PATH << "test" << "."
::MiniTest::Unit.output = stdout

paths, opts = parse_options(argv)

paths.each do |path|
require path
load path
end

::MiniTest::Unit.new.run(opts)
Expand Down
1 change: 1 addition & 0 deletions unit_project/test/test_helper.rb
@@ -1,4 +1,5 @@
require "spork"
$LOAD_PATH << "test"

Spork.prefork do
require "minitest/unit"
Expand Down

0 comments on commit 37485cd

Please sign in to comment.