diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-11-21 23:34:27 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-11-21 23:34:27 +0000 |
commit | 921ad01bde137254bdddf07c045ec1836492ae01 (patch) | |
tree | 2e4c10656290b5efad7d35b520f1b51f47bbd7fa | |
parent | d00cc4d9b5279ad4434b2d043e5bfcdef7b4e555 (diff) | |
download | redmine-921ad01bde137254bdddf07c045ec1836492ae01.tar.gz redmine-921ad01bde137254bdddf07c045ec1836492ae01.zip |
scm: git: change extra_report_last_commit type at unit test to string (#12409)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10862 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/repository_git_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index fa2f8bce6..03bb2741b 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -220,7 +220,7 @@ class RepositoryGitTest < ActiveSupport::TestCase def test_keep_extra_report_last_commit_in_clear_changesets assert_nil @repository.extra_info h = {} - h["extra_report_last_commit"] = 1 + h["extra_report_last_commit"] = "1" @repository.merge_extra_info(h) @repository.save @project.reload @@ -232,7 +232,7 @@ class RepositoryGitTest < ActiveSupport::TestCase assert_equal NUM_REV, @repository.changesets.count @repository.send(:clear_changesets) assert_equal 1, @repository.extra_info.size - assert_equal 1, @repository.extra_info["extra_report_last_commit"] + assert_equal "1", @repository.extra_info["extra_report_last_commit"] end def test_refetch_after_clear_changesets |