Description: Fix encoding of the result of a test of font_spec.rb
 encode_text method returns in that case a 8 bit ASCII string, not 7 bit.
From: James Healy <jimmy@deefa.com>
Origin: https://github.com/prawnpdf/prawn/commit/0ceab27
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676199 
Bug: https: https://github.com/prawnpdf/prawn/issues/357
Last-Update: 2011-06-12

--- a/spec/font_spec.rb
+++ b/spec/font_spec.rb
@@ -293,8 +293,8 @@
   it "should encode text without kerning by default" do
     @activa.encode_text("To").should == [[0, "To"]]
 
-    tele = (RUBY_VERSION < '1.9') ? "T\216l\216" :
-      "T\216l\216".force_encoding("US-ASCII")
+    tele = "T\216l\216"
+    tele.force_encoding("binary") if tele.respond_to?(:force_encoding)
     @activa.encode_text("Télé").should == [[0, tele]]
 
     @activa.encode_text("Technology").should == [[0, "Technology"]]
