summaryrefslogtreecommitdiff
path: root/test/rss
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 21:39:21 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 21:39:21 +0000
commit8e05c69aa1cab5cca3e725926016492aabe6f0d5 (patch)
tree242b78f76dd823c3c4894cae01968f207bbd10b6 /test/rss
parentabef077ec7bbb60753f49290f90a90bb1b0a39e0 (diff)
Added changes needed for miniunit. usually from using internal calls that aren't needed anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss')
-rw-r--r--test/rss/rss-assertions.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index 12e53f7..88634f3 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -2,6 +2,10 @@ require 'erb'
module RSS
module Assertions
+ def _wrap_assertion
+ yield
+ end
+
def assert_parse(rss, assert_method, *args)
__send__("assert_#{assert_method}", *args) do
::RSS::Parser.parse(rss)