1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ryan 2008-09-23 21:39:21 +00:00
parent abef077ec7
commit 8e05c69aa1
5 changed files with 20 additions and 3 deletions

View file

@ -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)