test/shoulda_macros/decoding.rb in bencode-0.8.0 vs test/shoulda_macros/decoding.rb in bencode-0.8.1

- old
+ new

@@ -1,8 +1,8 @@ -class MiniTest::Unit::TestCase - def self.should_decode(expected, encoded, opts = {}) - should "decode #{encoded.inspect} into #{expected.inspect}" do +class MiniTest::Test + def self.it_should_decode(expected, encoded, opts = {}) + it "should decode #{encoded.inspect} into #{expected.inspect}" do assert_equal expected, BEncode.load(encoded, opts) end end end