From 354aaa649e9eeed5d81793e09d9714b45063c147 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 8 Feb 2012 13:14:11 +0100 Subject: toxbank-investigation compatible version --- test/feature.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/feature.rb') 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 -- cgit v1.2.3