From 9ed209b262e0b540af967e24e9b9845600a0669c Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 15 Feb 2012 18:06:46 +0100 Subject: tests fixed for new task api --- test/task.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/task.rb') 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 -- cgit v1.2.3