Sha256: 7f61d31f55f50146f60c26622a1105e025fc548c594204e55f620807546b3d56
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class ArticleTest < Test::Unit::TestCase fixtures :articles # Replace this with your real tests. def test_first article = articles(:first) assert_equal 1, article.id assert_equal "内容1", article.description assert_equal Date.parse("2007-01-01"), article.lastupdate article = articles(:second) assert_equal 2, article.id assert_equal "内容2", article.description assert_equal Date.parse("2007-01-02"), article.lastupdate end end
Version data entries
6 entries across 6 versions & 1 rubygems