Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  test/test_committer.rb
4  test/test_committer.rb
@@ -8,8 +8,8 @@
8 8
 
9 9
   test "normalizes commit hash" do
10 10
     commit = {:message => 'abc'}
11  
-    name  = @wiki.repo.config['user.name']
12  
-    email = @wiki.repo.config['user.email']
  11
+    name  = @wiki.repo.config['user.name']  || @wiki.default_committer_name
  12
+    email = @wiki.repo.config['user.email'] ||  @wiki.default_committer_email
13 13
     committer = Gollum::Committer.new(@wiki, commit)
14 14
     assert_equal name,  committer.actor.name
15 15
     assert_equal email, committer.actor.email

No commit comments for this range

Something went wrong with that request. Please try again.