aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss/test_taxonomy.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/rss/test_taxonomy.rb
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
downloadruby-287a34ae0dfc23e4158f67cb7783d239f202c368.tar.gz
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_taxonomy.rb')
-rw-r--r--test/rss/test_taxonomy.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/rss/test_taxonomy.rb b/test/rss/test_taxonomy.rb
index 5109f3d892..0370555d87 100644
--- a/test/rss/test_taxonomy.rb
+++ b/test/rss/test_taxonomy.rb
@@ -8,7 +8,7 @@ require "rss/taxonomy"
module RSS
class TestTaxonomy < TestCase
-
+
def setup
@prefix = "taxo"
@uri = "http://purl.org/rss/1.0/modules/taxonomy/"
@@ -19,9 +19,9 @@ module RSS
@prefix => @uri,
@dc_prefix => @dc_uri,
}
-
+
@topics_parents = %w(channel item)
-
+
@topics_lis = [
"http://meerkat.oreillynet.com/?c=cat23",
"http://meerkat.oreillynet.com/?c=47",
@@ -81,7 +81,7 @@ module RSS
end
rv << "</#{@prefix}:topic>"
end
-
+
@rss_source = make_RDF(<<-EOR, @ns)
#{make_channel(@topics_node)}
#{make_image()}
@@ -97,7 +97,7 @@ EOR
assert_nothing_raised do
Parser.parse(@rss_source)
end
-
+
assert_too_much_tag("topics", "channel") do
Parser.parse(make_RDF(<<-EOR, @ns))
#{make_channel(@topics_node * 2)}
@@ -112,7 +112,7 @@ EOR
EOR
end
end
-
+
def test_accessor
topics = @rss.channel.taxo_topics
assert_equal(@topics_lis.sort,
@@ -136,7 +136,7 @@ EOR
end
end
end
-
+
def test_to_s
@topics_parents.each do |parent|
meth = "taxo_topics_element"