Sha256: 2679995c11307ce7b0575df00515cfe9606524a464f41e9fbcca72a448070074

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

class MiniTest::Unit::TestCase
  def self.should_decode(expected, encoded, opts = {})
    should "decode #{encoded.inspect} into #{expected.inspect}" do
      assert_equal expected, BEncode.load(encoded, opts)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bencode-0.8.0 test/shoulda_macros/decoding.rb
bencode-0.7.0 test/shoulda_macros/decoding.rb