summaryrefslogtreecommitdiff
path: root/validation/validation_test.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-09-07 10:23:16 +0200
committermguetlein <martin.guetlein@gmail.com>2010-09-07 10:23:16 +0200
commitfd1258afd54660cffe4c45472f9c856c68d30e61 (patch)
tree0e091a62d5a86096bed0c16c4b3160fd455d9260 /validation/validation_test.rb
parent9fac92f0165d7e0a13b5680c92c5c26521beec65 (diff)
fix examples
Diffstat (limited to 'validation/validation_test.rb')
-rw-r--r--validation/validation_test.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/validation/validation_test.rb b/validation/validation_test.rb
index 9b5a11f..1265bdc 100644
--- a/validation/validation_test.rb
+++ b/validation/validation_test.rb
@@ -86,8 +86,9 @@ class ValidationTest < Test::Unit::TestCase
#puts Nightly.build_nightly("1")
- #prepare_examples
- do_test_examples # USES CURL, DO NOT FORGET TO RESTART VALIDATION SERVICE
+ #prepare_examples
+ #do_test_examples # USES CURL, DO NOT FORGET TO RESTART VALIDATION SERVICE
+ do_test_examples_ortona
end
def app
@@ -122,7 +123,11 @@ class ValidationTest < Test::Unit::TestCase
end
def do_test_examples # USES CURL, DO NOT FORGET TO RESTART
- get '/test_examples'
+ post '/test_examples'
+ end
+
+ def do_test_examples_ortona
+ post '/test_examples',:examples=>"http://ortona.informatik.uni-freiburg.de/validation/examples"
end
end