diff options
Diffstat (limited to 'community/ruby-mathematical/use-system-mtex2mml-fixtures.patch')
-rw-r--r-- | community/ruby-mathematical/use-system-mtex2mml-fixtures.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch new file mode 100644 index 0000000000..76621f1f8e --- /dev/null +++ b/community/ruby-mathematical/use-system-mtex2mml-fixtures.patch @@ -0,0 +1,11 @@ +--- a/test/test_helper.rb ++++ b/test/test_helper.rb +@@ -6,7 +6,7 @@ + require 'pp' + require 'pry-byebug' + +-MTEX2MML_FIXTURES_DIR = File.join('ext', 'mathematical', 'mtex2MML', 'tests', 'fixtures') ++MTEX2MML_FIXTURES_DIR = '/usr/share/mtex2MML/fixtures' + MATHJAX_TEST_DIR = File.join(MTEX2MML_FIXTURES_DIR, 'MathJax') + MATHJAX_TEX_DIR = File.join(MATHJAX_TEST_DIR, 'LaTeXToMathML-tex') + TRAVIS_OSX = ENV['TRAVIS'] && ENV['TRAVIS_OS_NAME'] == 'osx' |