summaryrefslogtreecommitdiff
path: root/test/task.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-02-15 18:06:46 +0100
committerChristoph Helma <helma@in-silico.ch>2012-02-15 18:06:46 +0100
commit9ed209b262e0b540af967e24e9b9845600a0669c (patch)
treec9bd8ec8d29e8662231266741e405b306108318d /test/task.rb
parent354aaa649e9eeed5d81793e09d9714b45063c147 (diff)
tests fixed for new task api
Diffstat (limited to 'test/task.rb')
-rw-r--r--test/task.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/task.rb b/test/task.rb
index 1f0c9c2..5828223 100644
--- a/test/task.rb
+++ b/test/task.rb
@@ -15,10 +15,10 @@ class TaskTest < Test::Unit::TestCase
def test_create_and_complete
task = OpenTox::Task.create TASK_SERVICE_URI
- assert_equal "Running", task.status
+ assert_equal "Running", task.hasStatus
task.completed "http://test.org"
- assert_equal "Completed", task.status
- assert_equal "http://test.org", task.result_uri
+ assert_equal "Completed", task.hasStatus
+ assert_equal "http://test.org", task.resultURI
end