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:
parent
abef077ec7
commit
8e05c69aa1
5 changed files with 20 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue