summaryrefslogtreecommitdiff
path: root/test/rss/test_content.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 23:20:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 23:20:15 +0000
commit9b9a3dc54eb2fe6e37163def8ce2ba2832d46cf5 (patch)
tree31b45fada906a6f411b2b6cdbf0c1efec737f300 /test/rss/test_content.rb
parent4a774a787f568da80ea49a4526e21d44dbb4082b (diff)
* test/rss/test_content.rb, test/rss/test_syndication.rb: use fcall
instead of send in order to override visibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_content.rb')
-rw-r--r--test/rss/test_content.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb
index 77cd1c7005..e7e43885be 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).send(meth))
- @rss.send(parent).send("#{meth}=", new_value[name].to_s)
- assert_equal(new_value[name], @rss.send(parent).send(meth))
+ assert_equal(value, @rss.send(parent).fcall(meth))
+ @rss.send(parent).fcall("#{meth}=", new_value[name].to_s)
+ assert_equal(new_value[name], @rss.send(parent).fcall(meth))
end
end
@@ -75,7 +75,7 @@ EOR
excepted = "<#{@prefix}:#{name}>#{CGI.escapeHTML(value)}</#{@prefix}:#{name}>"
@parents.each do |parent|
meth = "#{RSS::CONTENT_PREFIX}_#{name}_element"
- assert_equal(excepted, @rss.send(parent).send(meth))
+ assert_equal(excepted, @rss.send(parent).fcall(meth))
end
end