test/helper.rb in magic-0.0.2 vs test/helper.rb in magic-0.1.0

- old
+ new

@@ -1,10 +1,13 @@ require 'rubygems' -require 'test/unit' -require 'shoulda' +gem "test-unit" +require "test/unit" $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'magic' class Test::Unit::TestCase + def fixture(filename) + File.join(File.dirname(__FILE__), "fixtures", filename) + end end