瀏覽代碼

Fix text failing on some rubies/sql drivers because of improper length in Change#action (#13487).

git-svn-id: http://svn.redmine.org/redmine/trunk@13352 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.6.0
Jean-Baptiste Barth 9 年之前
父節點
當前提交
fc99c1851f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      test/unit/repository_test.rb

+ 2
- 2
test/unit/repository_test.rb 查看文件

@@ -409,8 +409,8 @@ class RepositoryTest < ActiveSupport::TestCase
:revision => 101,
:comments => 'Another commit by foo.'
)
Change.create!(:changeset => set, :action => 'create', :path => '/path/to/file1')
Change.create!(:changeset => set, :action => 'create', :path => '/path/to/file2')
Change.create!(:changeset => set, :action => 'A', :path => '/path/to/file1')
Change.create!(:changeset => set, :action => 'A', :path => '/path/to/file2')
expected = {"dlopper"=>{:commits_count=>11, :changes_count=>5}}
assert_equal expected, repository.stats_by_author
end

Loading…
取消
儲存