summaryrefslogtreecommitdiff
path: root/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test.rb')
-rw-r--r--test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.rb b/test.rb
index dc5ac9f..08043c6 100644
--- a/test.rb
+++ b/test.rb
@@ -4,9 +4,9 @@ module OpenTox
class Application < Service
post '/test/wait_for_error_in_task/?' do
- task = OpenTox::Task.run("wait_for_error_in_task",@uri,@subjectid) do |task|
+ task = OpenTox::Task.run("wait_for_error_in_task",@uri) do |task|
sleep 1
- uri = OpenTox::Dataset.new(File.join($dataset[:uri],'test/error_in_task'), @subjectid).post
+ uri = OpenTox::Dataset.new(File.join($dataset[:uri],'test/error_in_task')).post
end
response['Content-Type'] = 'text/uri-list'
halt 202,task.uri.to_s+"\n"