Skip tests for transliteration for adapters different than grit

This commit is contained in:
Adam Niedzielski
2017-03-11 19:28:31 +01:00
parent 199161f611
commit 2d1e49e3f2
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -30,6 +30,11 @@ context "Frontend" do
# and in file names saved to disk
# urls are not case sensitive
assert_equal 'Title-Space', 'Title Space'.to_url
end
test "translation" do
# we transliterate only when adapter is grit
return if defined?(Gollum::GIT_ADAPTER) && Gollum::GIT_ADAPTER != 'grit'
# ascii only file names prevent UTF8 issues
# when using git repos across operating systems