diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-03-14 11:44:53 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-03-14 11:44:53 +0000 |
commit | 1652bc3f3e635948fc3a73817f407adc6dee071a (patch) | |
tree | f62d525dae20a7e6178e259646cb5266450f4031 /test/dataset.rb | |
parent | 99a1045502cabe4b39ebd1943bf46a7fcd42f128 (diff) |
metadata methods fixed
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 |