summaryrefslogtreecommitdiffstats
path: root/tests/units/test_config.rb
diff options
context:
space:
mode:
authorScott Chacon <schacon@gmail.com>2008-03-08 18:14:15 -0800
committerScott Chacon <schacon@gmail.com>2008-03-08 18:14:15 -0800
commit1d845799ebc05bee9e3a68b7ad9dd5015277ca41 (patch)
treee84397c1359cc51189760477a4475e4279cfa01f /tests/units/test_config.rb
parent2d749e3aa69d7bfedf814f59618f964fdbc300d5 (diff)
downloadthird_party-ruby-git-1d845799ebc05bee9e3a68b7ad9dd5015277ca41.tar.gz
third_party-ruby-git-1d845799ebc05bee9e3a68b7ad9dd5015277ca41.tar.xz
third_party-ruby-git-1d845799ebc05bee9e3a68b7ad9dd5015277ca41.zip
reverted the pure ruby code to system calls and split the pure ruby to a new library
Diffstat (limited to 'tests/units/test_config.rb')
-rw-r--r--tests/units/test_config.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/test_config.rb b/tests/units/test_config.rb
index 46ccd1e..f1722de 100644
--- a/tests/units/test_config.rb
+++ b/tests/units/test_config.rb
@@ -10,19 +10,19 @@ class TestConfig < Test::Unit::TestCase
def test_config
c = @git.config
- assert_equal('scott Chacon', c['user.name'])
+ assert_equal('Scott Chacon', c['user.name'])
assert_equal('false', c['core.bare'])
end
def test_read_config
- assert_equal('scott Chacon', @git.config('user.name'))
+ assert_equal('Scott Chacon', @git.config('user.name'))
assert_equal('false', @git.config('core.bare'))
end
def test_set_config
in_temp_dir do |path|
g = Git.clone(@wbare, 'bare')
- assert_equal('scott Chacon', g.config('user.name'))
+ assert_equal('Scott Chacon', g.config('user.name'))
g.config('user.name', 'bully')
assert_equal('bully', g.config('user.name'))
end