summaryrefslogtreecommitdiff
path: root/test/rss/test_dublincore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_dublincore.rb')
-rw-r--r--test/rss/test_dublincore.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb
index 0e049e7..22b8148 100644
--- a/test/rss/test_dublincore.rb
+++ b/test/rss/test_dublincore.rb
@@ -245,7 +245,7 @@ EOR
excepted = "<#{DC_PREFIX}:#{name}>#{value}</#{DC_PREFIX}:#{name}>"
parents.each do |parent_readers|
parent = chain_reader(feed, parent_readers)
- assert_equal(excepted, parent.__send!("dc_#{name}_elements"))
+ assert_equal(excepted, parent.__send__("dc_#{name}_elements"))
end
plural_suffix = dc_plural_suffix(name, check_backward_compatibility)
@@ -257,7 +257,7 @@ EOR
klass_name = "DublinCore#{Utils.to_class_name(name.to_s)}"
klass = DublinCoreModel.const_get(klass_name)
elems << klass.new(parent.__send__("dc_#{name}"))
- assert_equal(excepted, parent.__send!("dc_#{name}_elements"))
+ assert_equal(excepted, parent.__send__("dc_#{name}_elements"))
end
end