]> source.dussan.org Git - redmine.git/commitdiff
Fix text failing on some rubies/sql drivers because of improper length in Change...
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Tue, 26 Aug 2014 17:15:55 +0000 (17:15 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Tue, 26 Aug 2014 17:15:55 +0000 (17:15 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13352 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_test.rb

index 173483c2d76bb06c605ba37c8638c5a9b38cc5af..c23fbccbe55cf4117ae9751e92f2e889f3fcb452 100644 (file)
@@ -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