Fix the test_normalizes_commit_hash on Travis-CI

This commit is contained in:
Ryan Fowler
2012-05-01 17:02:50 -05:00
parent 9dba3f9c58
commit b9dad32707
+2 -2
View File
@@ -8,8 +8,8 @@ context "Wiki" do
test "normalizes commit hash" do
commit = {:message => 'abc'}
name = @wiki.repo.config['user.name']
email = @wiki.repo.config['user.email']
name = @wiki.repo.config['user.name'] || @wiki.default_committer_name
email = @wiki.repo.config['user.email'] || @wiki.default_committer_email
committer = Gollum::Committer.new(@wiki, commit)
assert_equal name, committer.actor.name
assert_equal email, committer.actor.email