diff options
Diffstat (limited to 'test/dataset.rb')
-rw-r--r-- | test/dataset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dataset.rb b/test/dataset.rb index aab08e9..be68f7d 100644 --- a/test/dataset.rb +++ b/test/dataset.rb @@ -21,7 +21,7 @@ class DatasetTest < Test::Unit::TestCase d = OpenTox::Dataset.from_file "http://ot-dev.in-silico.ch/dataset", File.join(File.dirname(__FILE__),"data","EPAFHM.mini.csv") assert_equal OpenTox::Dataset, d.class assert_equal d.uri, d[RDF::XSD.anyURI] - assert_equal "EPAFHM.mini", d.metadata["http://purl.org/dc/elements/1.1/title"] # DC.title is http://purl.org/dc/terms/title + assert_equal "EPAFHM.mini", d.metadata[RDF::URI("http://purl.org/dc/elements/1.1/title")].to_s # DC.title is http://purl.org/dc/terms/title d.delete assert_raise OpenTox::NotFoundError do d.get |