summaryrefslogtreecommitdiffstats
path: root/tests/units/test_branch.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 17:11:19 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 17:11:19 -0800
commit31b4f2b80616f570c83ed62d20f8b14ec5ba425b (patch)
tree57202ceb4c563ba5a53bc32e4c4e6ff90ecf7ba7 /tests/units/test_branch.rb
parent907b03949bab53e2f7d55094100a71abd22f23e7 (diff)
downloadthird_party-ruby-git-31b4f2b80616f570c83ed62d20f8b14ec5ba425b.tar.gz
third_party-ruby-git-31b4f2b80616f570c83ed62d20f8b14ec5ba425b.tar.xz
third_party-ruby-git-31b4f2b80616f570c83ed62d20f8b14ec5ba425b.zip
adding my testing git directory
Diffstat (limited to 'tests/units/test_branch.rb')
-rw-r--r--tests/units/test_branch.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/units/test_branch.rb b/tests/units/test_branch.rb
index bc7d807..d54b526 100644
--- a/tests/units/test_branch.rb
+++ b/tests/units/test_branch.rb
@@ -13,7 +13,6 @@ class TestBranch < Test::Unit::TestCase
@branches = @git.branches
end
-
def test_branches_all
assert(@git.branches[:master].is_a?(Git::Branch))
@@ -38,7 +37,7 @@ class TestBranch < Test::Unit::TestCase
assert_equal('master', b.name)
assert_equal('working/master', b.full)
assert_equal('working', b.remote.name)
- assert_equal('+refs/heads/*:refs/remotes/working/*', b.remote.fetch)
+ assert_equal('+refs/heads/*:refs/remotes/working/*', b.remote.fetch_opts)
assert_equal('../working.git', b.remote.url)
end