Sha256: 7dc10cfa96a2b01cfcaf660eb48c4f1ce55bab51f2e7bfaac6f00ba0ea1b6747
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
#! /usr/bin/env ruby require File.dirname(__FILE__) + '/test_helper.rb' require '_test-util' class ContentTest < Test::Unit::TestCase def test_content text = "foo" mtime = Time.now content = Gonzui::Content.new(text, mtime) assert_equal(text, content.text) assert_equal(text.length, content.length) assert_equal(mtime, content.mtime) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gonzui-1.2-x86-mswin32-60 | test/test_content.rb |
gonzui-1.2 | test/test_content.rb |