test/test_xml.rb in atom-tools-0.9.3 vs test/test_xml.rb in atom-tools-0.9.4

- old
+ new

@@ -77,10 +77,10 @@ def test_updated entry = get_entry entry.updated = "1970-01-01" entry.content = "blah" - assert_instance_of(Time, entry.updated) + assert entry.updated.is_a?(Time) xml = get_elements entry assert_match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, xml.elements["//updated"].text, "atom:updated isn't in xsd:datetime format")