diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-02-08 13:14:11 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-02-08 13:14:11 +0100 |
commit | 354aaa649e9eeed5d81793e09d9714b45063c147 (patch) | |
tree | 230fd99569bcec503b61e6336263ca1edec397d1 /test/feature.rb | |
parent | ac54997dccc571471a0cdf62939e2fcbc42e06e2 (diff) |
toxbank-investigation compatible version
Diffstat (limited to 'test/feature.rb')
-rw-r--r-- | test/feature.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/feature.rb b/test/feature.rb index c389e8f..1308e77 100644 --- a/test/feature.rb +++ b/test/feature.rb @@ -1,8 +1,6 @@ -$LOAD_PATH << File.expand_path( File.dirname(__FILE__) + '/../lib' ) -require 'rubygems' -require 'opentox-ruby-minimal' require 'test/unit' -#require 'validate-owl' +$LOAD_PATH << File.join(File.dirname(__FILE__),'..','lib') +require File.join File.dirname(__FILE__),'..','lib','opentox-client.rb' class FeatureTest < Test::Unit::TestCase @@ -18,7 +16,7 @@ class FeatureTest < Test::Unit::TestCase def test_feature @features.each do |uri| f = OpenTox::Feature.new(uri) - assert_equal RDF::OT.Feature, f.metadata[RDF.type] + assert_equal RDF::OT1.Feature, f.metadata[RDF.type] end end |