aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss/rss-assertions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/rss-assertions.rb')
-rw-r--r--test/rss/rss-assertions.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index 0a84e4f16d..86f9dd87c0 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -14,7 +14,7 @@ module RSS
::RSS::Parser.parse(rss, false).validate
end
end
-
+
def assert_ns(prefix, uri)
_wrap_assertion do
begin
@@ -26,7 +26,7 @@ module RSS
end
end
end
-
+
def assert_missing_tag(tag, parent)
_wrap_assertion do
begin
@@ -38,7 +38,7 @@ module RSS
end
end
end
-
+
def assert_too_much_tag(tag, parent)
_wrap_assertion do
begin
@@ -50,7 +50,7 @@ module RSS
end
end
end
-
+
def assert_missing_attribute(tag, attrname)
_wrap_assertion do
begin
@@ -62,7 +62,7 @@ module RSS
end
end
end
-
+
def assert_not_expected_tag(tag, uri, parent)
_wrap_assertion do
begin
@@ -75,7 +75,7 @@ module RSS
end
end
end
-
+
def assert_not_available_value(tag, value, attribute=nil)
_wrap_assertion do
begin
@@ -101,7 +101,7 @@ module RSS
end
end
end
-
+
def assert_xml_declaration(version, encoding, standalone, rss)
_wrap_assertion do
assert_equal(version, rss.version)
@@ -109,7 +109,7 @@ module RSS
assert_equal(standalone, rss.standalone)
end
end
-
+
def assert_xml_stylesheet_attrs(attrs, xsl)
_wrap_assertion do
n_attrs = normalized_attrs(attrs)
@@ -118,7 +118,7 @@ module RSS
end
end
end
-
+
def assert_xml_stylesheet(target, attrs, xsl)
_wrap_assertion do
if attrs.has_key?(:href)
@@ -133,7 +133,7 @@ module RSS
end
end
end
-
+
def assert_xml_stylesheet_pis(attrs_ary, rss=nil)
_wrap_assertion do
if rss.nil?
@@ -806,7 +806,7 @@ EOA
end
end
end
-
+
def assert_multiple_dublin_core(elems, target)
_wrap_assertion do
elems.each do |name, values, plural|
@@ -816,7 +816,7 @@ EOA
end
end
end
-
+
def assert_syndication(elems, target)
_wrap_assertion do
elems.each do |name, value|
@@ -826,7 +826,7 @@ EOA
end
end
end
-
+
def assert_content(elems, target)
_wrap_assertion do
elems.each do |name, value|
@@ -834,7 +834,7 @@ EOA
end
end
end
-
+
def assert_trackback(attrs, target)
_wrap_assertion do
n_attrs = normalized_attrs(attrs)