test/tc_bdecode.rb in bencode-0.3.1 vs test/tc_bdecode.rb in bencode-0.3.2
- old
+ new
@@ -1,8 +1,7 @@
require 'test/unit'
-require 'rubygems'
-require 'bencode'
+require "#{File.dirname(__FILE__)}/../lib/bencode"
class BdecodeTest < Test::Unit::TestCase
def test_string
assert_equal "foo", "3:foo".bdecode
end