test/shoulda_macros/encoding.rb in bencode-0.8.0 vs test/shoulda_macros/encoding.rb in bencode-0.8.1
- old
+ new
@@ -1,8 +1,8 @@
-class MiniTest::Unit::TestCase
- def self.should_encode(expected, value)
- should "encode #{value.inspect} into #{expected.inspect}" do
+class MiniTest::Test
+ def self.it_should_encode(expected, value)
+ it "should encode #{value.inspect} into #{expected.inspect}" do
assert_equal expected, value.bencode
end
end
end