summaryrefslogtreecommitdiffstats
path: root/tests/units/test_config.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 10:04:26 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 10:04:26 -0800
commita1237671ba3ec38f5b123ee6600e4352dc03196b (patch)
tree71bc13cb36799e778237097b343a4d4fa9189b3f /tests/units/test_config.rb
parentefcce7fc123b9e64fb9d93224e4e78d09144af3d (diff)
downloadthird_party-ruby-git-a1237671ba3ec38f5b123ee6600e4352dc03196b.tar.gz
third_party-ruby-git-a1237671ba3ec38f5b123ee6600e4352dc03196b.tar.xz
third_party-ruby-git-a1237671ba3ec38f5b123ee6600e4352dc03196b.zip
git add working, git status object working
Diffstat (limited to 'tests/units/test_config.rb')
-rw-r--r--tests/units/test_config.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/units/test_config.rb b/tests/units/test_config.rb
index 5adb391..66dc9ff 100644
--- a/tests/units/test_config.rb
+++ b/tests/units/test_config.rb
@@ -20,7 +20,12 @@ class TestBranch < Test::Unit::TestCase
end
def test_set_config
- # !! TODO !!
+ in_temp_dir do |path|
+ g = Git.clone(@wbare, 'bare')
+ assert_equal('scott Chacon', g.config('user.name'))
+ g.config('user.name', 'bully')
+ assert_equal('bully', g.config('user.name'))
+ end
end
end \ No newline at end of file