From: Antonio Terceiro <terceiro@debian.org>
Date: Sat, 23 Jan 2016 12:22:07 -0200
Subject: rbpdf-font/test: test font path contents, not exact location

---
 rbpdf-font/test/rbpdf_font_file_test.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/rbpdf-font/test/rbpdf_font_file_test.rb b/rbpdf-font/test/rbpdf_font_file_test.rb
index 9593c5a..17a2f10 100644
--- a/rbpdf-font/test/rbpdf_font_file_test.rb
+++ b/rbpdf-font/test/rbpdf_font_file_test.rb
@@ -3,9 +3,7 @@ require 'test_helper'
 class RbpdfFontFileTest < Test::Unit::TestCase
   test "Font path test" do
     font_path = RBPDFFontDescriptor.getfontpath
-    exp_path = File.join File.dirname(__FILE__).gsub(/test$/, '') , 'lib', 'fonts'
-
-    assert_equal exp_path, font_path
+    assert_include Dir.entries(font_path), 'courier.rb'
   end
 
   test "Core Font File test" do
