rubygem-ferret/rubygem-ferret-0.11.8.4-Fix-compatibily-with-minitest.patch
Vít Ondruch 0bbcb78ac1 Update to ferret 0.11.8.4.
Rebuilt for Ruby 1.9.3.
2012-05-16 10:21:06 +02:00

25 lines
793 B
Diff

From fa3e1bee3f49b767278957068096261079aaf5a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <v.ondruch@tiscali.cz>
Date: Tue, 15 May 2012 14:40:24 +0300
Subject: [PATCH] Fix compatibily with minitest.
---
ruby/test/unit/tc_field_symbol.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruby/test/unit/tc_field_symbol.rb b/ruby/test/unit/tc_field_symbol.rb
index 9229934..b1ba00c 100644
--- a/ruby/test/unit/tc_field_symbol.rb
+++ b/ruby/test/unit/tc_field_symbol.rb
@@ -21,6 +21,6 @@ class FieldSymbolTest < Test::Unit::TestCase
assert_equal(field_type, :sym.__send__(field_type).type)
end
- assert(:string, :sym.integer.byte.float.string.type)
+ assert(:string, :sym.integer.byte.float.string.type.to_s)
end
end
--
1.7.10.1