summaryrefslogtreecommitdiff
path: root/test/rss/test_content.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_content.rb')
-rw-r--r--test/rss/test_content.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb
index b0ecbd4cf3c..0622625e26c 100644
--- a/test/rss/test_content.rb
+++ b/test/rss/test_content.rb
@@ -61,9 +61,9 @@ EOR
@elems.each do |name, value|
@parents.each do |parent|
meth = "#{RSS::CONTENT_PREFIX}_#{name}"
- assert_equal(value, @rss.__send__(parent).funcall(meth))
- @rss.__send__(parent).funcall("#{meth}=", new_value[name].to_s)
- assert_equal(new_value[name], @rss.__send__(parent).funcall(meth))
+ assert_equal(value, @rss.__send__(parent).__send__(meth))
+ @rss.__send__(parent).__send__("#{meth}=", new_value[name].to_s)
+ assert_equal(new_value[name], @rss.__send__(parent).__send__(meth))
end
end