Sha256: 6224672f079fbd6de5df8d590842537f1f533e27669296f3eff95b04b6c58d2e
Contents?: true
Size: 346 Bytes
Versions: 16
Compression:
Stored size: 346 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'test_helper.rb') require 'rbbt/document' class TestDocument < Test::Unit::TestCase def test_docid text = "This is a document" Document.setup(text, "TEST", "test_doc1", nil) assert_equal ["TEST", "test_doc1", nil, Misc.digest(text)] * ":", text.docid end end
Version data entries
16 entries across 16 versions & 1 rubygems