diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-12 06:22:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-12 06:22:33 +0000 |
commit | 804482ef2b5e36cb474bc3b8e10e52ab19ca0d21 (patch) | |
tree | 9b6060dbd2228f4846e3e0265cf991deb44377d8 /test/unit/lib | |
parent | 8ddcc4caf51c3ae911f7789ad21dcb456ebcf193 (diff) | |
download | redmine-804482ef2b5e36cb474bc3b8e10e52ab19ca0d21.tar.gz redmine-804482ef2b5e36cb474bc3b8e10e52ab19ca0d21.zip |
scm: git: update test repository (#10207)
New "master-20120212" branch is added.
Git branch is the reference to the specific revision.
This branch points the same revision with "master" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8855 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r-- | test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index 990070fbc..e9049956a 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -65,19 +65,23 @@ begin @adapter.branches.each do |b| brs << b end - assert_equal 5, brs.length - br_issue_8857 = brs[-5] + assert_equal 6, brs.length + br_issue_8857 = brs[0] assert_equal 'issue-8857', br_issue_8857.to_s assert_equal '2a682156a3b6e77a8bf9cd4590e8db757f3c6c78', br_issue_8857.revision assert_equal br_issue_8857.scmid, br_issue_8857.revision - br_latin_1_path = brs[-4] + br_latin_1_path = brs[1] assert_equal 'latin-1-path-encoding', br_latin_1_path.to_s assert_equal '1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127', br_latin_1_path.revision assert_equal br_latin_1_path.scmid, br_latin_1_path.revision - br_master = brs[-3] + br_master = brs[2] assert_equal 'master', br_master.to_s assert_equal '83ca5fd546063a3c7dc2e568ba3355661a9e2b2c', br_master.revision assert_equal br_master.scmid, br_master.revision + br_master_20120212 = brs[3] + assert_equal 'master-20120212', br_master_20120212.to_s + assert_equal '83ca5fd546063a3c7dc2e568ba3355661a9e2b2c', br_master_20120212.revision + assert_equal br_master_20120212.scmid, br_master_20120212.revision br_latin_1 = brs[-2] assert_equal 'test-latin-1', br_latin_1.to_s assert_equal '67e7792ce20ccae2e4bb73eed09bb397819c8834', br_latin_1.revision |