diff options
author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-11 10:04:26 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-11 10:04:26 -0800 |
commit | a1237671ba3ec38f5b123ee6600e4352dc03196b (patch) | |
tree | 71bc13cb36799e778237097b343a4d4fa9189b3f /tests/units/test_config.rb | |
parent | efcce7fc123b9e64fb9d93224e4e78d09144af3d (diff) | |
download | third_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.rb | 7 |
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 |