Commit 238ef9ff authored by tmaruyama's avatar tmaruyama

scm: git: use explicit "master" instead of all for revisions method at unit lib test

git-svn-id: https://svn.redmine.org/redmine/trunk@8812 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3ee6e9a0
......@@ -206,7 +206,7 @@ begin
def test_getting_revisions_with_spaces_in_filename
assert_equal 1, @adapter.revisions("filemane with spaces.txt",
nil, nil, :all => true).length
nil, "master").length
end
def test_parents
......@@ -238,7 +238,7 @@ begin
def test_getting_revisions_with_leading_and_trailing_spaces_in_filename
assert_equal " filename with a leading space.txt ",
@adapter.revisions(" filename with a leading space.txt ",
nil, nil, :all => true)[0].paths[0][:path]
nil, "master")[0].paths[0][:path]
end
def test_getting_entries_with_leading_and_trailing_spaces_in_filename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment