projects
/
feedcatcher.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated README.rdoc again
[feedcatcher.git]
/
vendor
/
rails
/
actionpack
/
test
/
controller
/
html-scanner
/
cdata_node_test.rb
1
require
'abstract_unit'
2
3
class
CDATANodeTest
<
Test
::Unit::TestCase
4
def
setup
5
@node
=
HTML
::CDATA
.
new
(
nil
,
0
,
0
,
"<p>howdy</p>"
)
6
end
7
8
def
test_to_s
9
assert_equal
"<!
[
CDATA
[<
p
>
howdy
</
p
>]]>
", @node.to_s
10
end
11
12
def test_content
13
assert_equal "
<
p
>
howdy
</
p
>
", @node.content
14
end
15
end