Permalink
Browse files

Fixed rakefile and undef_method when using miniunit. still broke tho

[git-p4: depot-paths = "//src/heckle/dev/": change = 4292]
  • Loading branch information...
1 parent 8093675 commit 2b1fd650fcf61520d00c595f0a1d9b3416cd0b1d @zenspider zenspider committed Oct 5, 2008
Showing with 5 additions and 3 deletions.
  1. +3 −2 Rakefile
  2. +2 −1 test/test_heckle.rb
View
@@ -1,5 +1,8 @@
# -*- ruby -*-
+require 'rubygems'
+require 'hoe'
+
Hoe.add_include_dirs("../../ParseTree/dev/lib",
"../../ParseTree/dev/test",
"../../RubyInline/dev/lib",
@@ -8,8 +11,6 @@ Hoe.add_include_dirs("../../ParseTree/dev/lib",
"../../sexp_processor/dev/lib",
"lib")
-require 'rubygems'
-require 'hoe'
require './lib/heckle.rb'
Hoe.new('heckle', Heckle::VERSION) do |heckle|
View
@@ -25,7 +25,8 @@ def rand_symbol
end
class HeckleTestCase < Test::Unit::TestCase
- undef_method :default_test
+ undef_method :default_test unless defined? Mini
+
def setup
@nodes ||= Heckle::MUTATABLE_NODES
unless defined? @name then

0 comments on commit 2b1fd65

Please sign in to comment.