summaryrefslogtreecommitdiffstats
path: root/test/rss
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-12 23:09:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-12 23:09:39 +0000
commit01701aabecb8dfbd8a75ab014c0d99ca3c4a26ab (patch)
tree6e5a90dde2b60164bc8cb2c6af97d994f0f7ea22 /test/rss
parent039573c5c2fd6eb2dd07aa152e4ef1d20d052a3c (diff)
downloadruby-01701aabecb8dfbd8a75ab014c0d99ca3c4a26ab.tar.gz
ruby-01701aabecb8dfbd8a75ab014c0d99ca3c4a26ab.tar.xz
ruby-01701aabecb8dfbd8a75ab014c0d99ca3c4a26ab.zip
* lib/ostruct.rb (new_ostruct_member): Object#send no longer call
private methods. [ruby-dev:27044] * test/rss/test_dublincore.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto. * test/ruby/test_lambda (test_call_with_block): lambda makes new scope for formal block parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss')
-rw-r--r--test/rss/test_dublincore.rb4
-rw-r--r--test/rss/test_trackback.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb
index 5ad9311fb..614c25eeb 100644
--- a/test/rss/test_dublincore.rb
+++ b/test/rss/test_dublincore.rb
@@ -151,7 +151,7 @@ EOR
@elems.each do |name, value|
excepted = "<#{@prefix}:#{name}>#{value}</#{@prefix}:#{name}>"
@parents.each do |parent|
- assert_equal(excepted, @rss.send(parent).send("dc_#{name}_elements"))
+ assert_equal(excepted, @rss.send(parent).fcall("dc_#{name}_elements"))
end
excepted = Array.new(2, excepted).join("\n")
@@ -161,7 +161,7 @@ EOR
klass_name = "DublinCore#{Utils.to_class_name(name.to_s)}"
klass = DublinCoreModel.const_get(klass_name)
elems << klass.new(@rss.send(parent).send("dc_#{name}"))
- assert_equal(excepted, @rss.send(parent).send("dc_#{name}_elements"))
+ assert_equal(excepted, @rss.send(parent).fcall("dc_#{name}_elements"))
end
end
diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb
index a3f023e88..2f92a0b1f 100644
--- a/test/rss/test_trackback.rb
+++ b/test/rss/test_trackback.rb
@@ -114,7 +114,7 @@ EOR
@parents.each do |parent|
meth = "#{RSS::TRACKBACK_PREFIX}_#{name}_element"
meth << "s" if name == :about
- assert_equal(excepted, @rss.send(parent).send(meth))
+ assert_equal(excepted, @rss.send(parent).fcall(meth))
end
end