mirror of
https://github.com/redmine/redmine.git
synced 2026-05-08 23:37:46 +02:00
Fixed wrong commit range in git log command. #5628
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3925 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -16,6 +16,10 @@ class GitAdapterTest < ActiveSupport::TestCase
|
||||
assert_equal 13, @adapter.revisions('',nil,nil,:all => true).length
|
||||
end
|
||||
|
||||
def test_getting_certain_revisions
|
||||
assert_equal 1, @adapter.revisions('','899a15d^','899a15d').length
|
||||
end
|
||||
|
||||
def test_annotate
|
||||
annotate = @adapter.annotate('sources/watchers_controller.rb')
|
||||
assert_kind_of Redmine::Scm::Adapters::Annotate, annotate
|
||||
|
||||
Reference in New Issue
Block a user