summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-03-02 09:40:08 +0000
committerChristoph Helma <helma@in-silico.ch>2012-03-02 09:40:08 +0000
commit53fe462b9c310bc84df50d058500772b7f3cbc3c (patch)
tree7858894c334cf5847c27c3b90cfee846891f89e6 /test
parentcbc5f08e92c92601009f0c11c8ec67ede2894858 (diff)
error test fixed
Diffstat (limited to 'test')
-rw-r--r--test/task.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/task.rb b/test/task.rb
index d49871f..932d5c9 100644
--- a/test/task.rb
+++ b/test/task.rb
@@ -10,8 +10,6 @@ TASK_SERVICE_URI = "http://ot-dev.in-silico.ch/task"
class TaskTest < Test::Unit::TestCase
-=begin
-=end
def test_all
all = OpenTox::Task.all(TASK_SERVICE_URI)
assert_equal Array, all.class
@@ -75,12 +73,9 @@ class TaskTest < Test::Unit::TestCase
end
assert task.running?
assert_equal "Running", task.hasStatus
- puts task.uri
task.wait
assert task.error?
- #assert_equal "Error", task.hasStatus
+ assert_equal "Error", task.hasStatus
end
-=begin
-=end
end