From f3cf4d706d65bd4a0aa9491a9f1e624e9f63ccb7 Mon Sep 17 00:00:00 2001 From: "Zeno R.R. Davatz" Date: Mon, 14 Feb 2011 08:19:49 +0100 Subject: [PATCH] updated test/integration.rb thanks for the hint tomiacannondale@gmail.com --- test/integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration.rb b/test/integration.rb index 0f5b9f5..51fe9f2 100644 --- a/test/integration.rb +++ b/test/integration.rb @@ -521,7 +521,7 @@ def test_worksheets__utf16 assert_instance_of Excel::Worksheet, sheet str = "S\000h\000e\000e\000t\0001\000" if RUBY_VERSION >= '1.9' - str.force_encoding 'UTF-16LE' if name.respond_to?(:force_encoding) + str.force_encoding 'UTF-16LE' if str.respond_to?(:force_encoding) end assert_equal sheet, book.worksheet(str) end