Pass non-empty commit author details in transliteration test

Empty name or email are not allowed by libgit2 and cause a test failure
when the test suite is run against rugged_adapter.
This commit is contained in:
Adam Niedzielski
2017-01-27 15:15:50 +01:00
parent 00dfecb1c7
commit af29c6e441
+1 -1
View File
@@ -91,7 +91,7 @@ context "Frontend Unicode support" do
test 'transliteration' do
# TODO: Remove to_url once write_page changes are merged.
@wiki.write_page('ééééé'.to_url, :markdown, '한글 text', { :name => '', :email => '' })
@wiki.write_page('ééééé'.to_url, :markdown, '한글 text', commit_details)
page = @wiki.page('eeeee')
assert_equal '한글 text', utf8(page.raw_data)
end