unit-test-for-isodatesec.diff

Toshi MARUYAMA, 2010-07-23 16:35

Download (833 Bytes)

View differences:

test/unit/repository_mercurial_test.rb 金 7月 23 23:25:52 2010 +0900
68 67
      assert_nil @repository.scm.cat("sources/welcome_controller.rb")
69 68
    end
70 69

  
70
    def test_isodatesec
71
      @repository.fetch_changesets
72
      @repository.reload
73
      rev0_committed_on = Time.gm(2007, 12, 14, 9, 22, 52)
74
      assert_equal @repository.changesets.find_by_revision('0').committed_on, rev0_committed_on
75
    end
76

  
71 77
  else
72 78
    puts "Mercurial test repository NOT FOUND. Skipping unit tests !!!"
73 79
    def test_fake; assert true end