summaryrefslogtreecommitdiff
path: root/test/rss/test_2.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_2.0.rb')
-rw-r--r--test/rss/test_2.0.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rss/test_2.0.rb b/test/rss/test_2.0.rb
index 5e2e6bd8512..2027e5344ad 100644
--- a/test/rss/test_2.0.rb
+++ b/test/rss/test_2.0.rb
@@ -145,7 +145,7 @@ module RSS
actual = {}
cloud_elem.attributes.each do |name, value|
value = value.to_i if name == "port"
- actual[name.to_sym] = value
+ actual[name.intern] = value
end
assert_equal(cloud_params, actual)
end
@@ -313,7 +313,7 @@ module RSS
actual = {}
enclosure_elem.attributes.each do |name, value|
value = value.to_i if name == "length"
- actual[name.to_sym] = value
+ actual[name.intern] = value
end
assert_equal(enclosure_params, actual)
end
@@ -348,7 +348,7 @@ module RSS
actual[:content] = guid_elem.text if guid_elem.text
guid_elem.attributes.each do |name, value|
value = value == "true" if name == "isPermaLink"
- actual[name.to_sym] = value
+ actual[name.intern] = value
end
assert_equal(guid_params, actual)
end
@@ -369,7 +369,7 @@ module RSS
actual = {}
actual[:content] = source_elem.text
source_elem.attributes.each do |name, value|
- actual[name.to_sym] = value
+ actual[name.intern] = value
end
assert_equal(source_params, actual)
end