diff options
author | mr <mr@mrautenberg.de> | 2011-05-17 10:33:56 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-05-17 10:33:56 +0200 |
commit | 4482a2dd9342a081d00849d059d1f37160df078b (patch) | |
tree | 2b3b5989dd0bbb3f21d136b77fc4832edd29c2ee /validate-owl.rb | |
parent | 9e3c8678d895466939d7c4feb8d0a27fe030e01f (diff) |
fix 202 wait on task, fix task.last to task.sort.last
Diffstat (limited to 'validate-owl.rb')
-rw-r--r-- | validate-owl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validate-owl.rb b/validate-owl.rb index bfa2584..e219d58 100644 --- a/validate-owl.rb +++ b/validate-owl.rb @@ -1,6 +1,6 @@ def validate_owl(uri, subjectid=nil) if validator_available? - owl = OpenTox::RestClientWrapper.get(uri,{:accept => "application/rdf+xml",:subjectid => subjectid}) + owl = OpenTox::RestClientWrapper.get(uri,{:accept => "application/rdf+xml",:subjectid => subjectid}, nil, false) html = OpenTox::RestClientWrapper.post("http://www.mygrid.org.uk/OWL/Validator",{:rdf => owl, :level => "DL",:subjectid => subjectid}) assert_match(/YES/,html) else |