##// END OF EJS Templates
Merged r10862 from trunk to 1.4-stable (#12409)...
Toshi MARUYAMA -
r10637:68c2588f853c
parent child
Show More
@@ -215,7 +215,7 class RepositoryGitTest < ActiveSupport::TestCase
215 215 def test_keep_extra_report_last_commit_in_clear_changesets
216 216 assert_nil @repository.extra_info
217 217 h = {}
218 h["extra_report_last_commit"] = 1
218 h["extra_report_last_commit"] = "1"
219 219 @repository.merge_extra_info(h)
220 220 @repository.save
221 221 @project.reload
@@ -227,7 +227,7 class RepositoryGitTest < ActiveSupport::TestCase
227 227 assert_equal NUM_REV, @repository.changesets.count
228 228 @repository.send(:clear_changesets)
229 229 assert_equal 1, @repository.extra_info.size
230 assert_equal 1, @repository.extra_info["extra_report_last_commit"]
230 assert_equal "1", @repository.extra_info["extra_report_last_commit"]
231 231 end
232 232
233 233 def test_refetch_after_clear_changesets
General Comments 0
You need to be logged in to leave comments. Login now