Sha256: 819c48193243bf4cc8c4f6dd0adb7e51c655ad933d6d34337bd4e114002766c9

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bencode-1.0.0 test/shoulda_macros/decoding.rb
bencode-0.8.2 test/shoulda_macros/decoding.rb
bencode-0.8.1 test/shoulda_macros/decoding.rb