diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-02-15 18:06:46 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-02-15 18:06:46 +0100 |
commit | 9ed209b262e0b540af967e24e9b9845600a0669c (patch) | |
tree | c9bd8ec8d29e8662231266741e405b306108318d /test/task.rb | |
parent | 354aaa649e9eeed5d81793e09d9714b45063c147 (diff) |
tests fixed for new task api
Diffstat (limited to 'test/task.rb')
-rw-r--r-- | test/task.rb | 6 |
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 |