diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-08-19 11:26:00 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-08-19 11:26:00 +0200 |
commit | f4c065998f6c918e67058b05ac17778cfbc57f58 (patch) | |
tree | be4a6cf71c7177bdb306344e052b456aa73b454e /reach_reports/reach_test.rb | |
parent | 0f5cc11dcecf6eda0a7230d69aa346cfb86c6a49 (diff) |
task title and creator, reach report minor fixes
Diffstat (limited to 'reach_reports/reach_test.rb')
-rw-r--r-- | reach_reports/reach_test.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reach_reports/reach_test.rb b/reach_reports/reach_test.rb index f2ad251..3f4609a 100644 --- a/reach_reports/reach_test.rb +++ b/reach_reports/reach_test.rb @@ -89,11 +89,12 @@ class ReachTest < Test::Unit::TestCase #$test_case = self - file = File.new("qmrf-report.xml") + #file = File.new("qmrf-report.xml") + file = File.new("/home/martin/win/home/test2.xml") raise "File not found: "+file.path.to_s unless File.exist?(file.path) data = File.read(file.path) #puts "data found "+data.to_s[0..1000] - puts OpenTox::RestClientWrapper.post("http://localhost/validation/reach_report/qmrf",{:content_type => "application/qmrf-xml"},data).to_s.chomp + puts OpenTox::RestClientWrapper.post("http://localhost/validation/reach_report/qmrf/20",{:content_type => "application/qmrf-xml"},data).to_s.chomp #post "/reach_report/qmrf/2" #puts last_response.body |